That would depend entirely on if her male parts are "fully functioning"...if she has testicles and produces sperm, and you had penetrative sex with her penis (or if your vaginal fluids mixed with semen from her penis), yes, you could be pregnant.
Out of curiosity, I had to pull up a little research on this. I looked up Hermaphrodite on Wikipedia and first, found out that the more appropriate term used for the condition is "intersex." There are multiple variations of being intersexed; it depends on the type of genetic abnormality that happened at birth. From your description of your sexual partner being "female" but having "male parts," I am going to guess that his condition is the 5-alpha-reductase (5-ARD) deficiency. This means that technically, your sexual partner is genetically male. However, it is probably safe to assume that he is infertile and cannot get you pregnant.
"The condition affects only genetic males (that is, those with a Y-chromosome) because DHT has no known role in female development.
Individuals with 5-ARD can have normal male external genitalia, ambiguous genitalia, or normal female genitalia. They are born with male gonads, including testicles and Wolffian structures, but usually have female primary sex characteristics. As a consequence, they are often raised as girls, but usually have a male gender identity.
In general, individuals with 5-ARD are capable of producing viable sperm. In individuals with feminized or ambiguous genitalia, there is a tendency towards a macroclitoris or microphallus, and the urethra may attach to the phallus. This structure may be capable of ejaculations as well as erections, but may be insufficient for intercourse.
At puberty, individuals often have primary amenorrhoea, and may experience virilization. This may include descending of the testes, hirsutism (facial/body hair considered normal in males - not to be confused with hypertrichosis), deepening of the voice, and enlargement of the clitoris. In adulthood, individuals do not experience male-pattern baldness. As DHT is a far more potent androgen than testosterone alone, virilization in those lacking DHT may be absent or reduced compared to males with functional 5-alpha reductase. It is hypothesized that rising testosterone levels at the start of puberty (around age twelve) are able to generate sufficient levels of DHT either by the action of 5-alpha-reductase type 1 (active in the adult liver, non-genital skin and some brain areas) or through the expression of low levels of 5-alpha-reductase type 2 in the testes.
 InfertilityThere is an increased risk of cryptorchidism in 5-ARD, causing infertility, but also a higher risk of testicular cancer. Fertility is further compromised by the underdevelopment of seminal vesicles and prostate.
On the other hand, fertility depending on female characteristics is impossible; although the external genitalia may be female, the vagina consists of only the lower two-thirds of a normal vagina, creating a blind-ending vaginal pouch. Due to the normal action of Müllerian inhibiting factor produced by the testes in utero, individuals with 5-ARD lack a uterus and Fallopian tubes. Thus, individuals with 5-ARD are not able to carry a pregnancy, and, since they have testes and not ovaries, they are unable to create ova, which precludes such infertility treatments as surrogate motherhood."
Good general info, and I agree pregnancy is probably unlikely in this case, but I wouldn't just assume your partner is 5-ARD, and infertile, without checking into it a little further. If you had unprotected sexual contact, keep in mind that you may also be at risk for STIs.
The Content on this Site is presented in a summary fashion, and is intended to be used for educational and entertainment purposes only. It is not intended to be and should not be interpreted as medical advice or a diagnosis of any health or fitness problem, condition or disease; or a recommendation for a specific test, doctor, care provider, procedure, treatment plan, product, or course of action. MedHelp is not a medical or healthcare provider and your use of this Site does not create a doctor / patient relationship. We disclaim all responsibility for the professional qualifications and licensing of, and services provided by, any physician or other health providers posting on or otherwise referred to on this Site and/or any Third Party Site. Never disregard the medical advice of your physician or health professional, or delay in seeking such advice, because of something you read on this Site. We offer this Site AS IS and without any warranties. By using this Site you agree to the following Terms and Conditions. If you think you may have a medical emergency, call your physician or 911 immediately.