Dumb python questions
Martin von Loewis
loewis at informatik.hu-berlin.de
Wed Aug 15 07:44:49 EDT 2001
Paul Rubin <phr-n2001 at nightsong.com> writes:
> Thanks. Can you tell me if that's documented anywhere?
>
> http://www.python.org/doc/current/lib/typesnumeric.html
>
> describes the conjugate() operation but not the real or imag members.
> I'd like to report that as a deficiency in the documentation.
It doesn't?
# Complex numbers have a real and imaginary part, which are both
# implemented using double in C. To extract these parts froma complex
# number z, use z.real and z.imag.
sounds as precise to me as it can get. In any case, to report
documentation bugs, just use the bug tracker at
sf.net/projects/python.
Regards,
Martin
More information about the Python-list
mailing list