New submission from MagnetoHydroDynamics <[email protected]>: In both version 2.6.1 and 3.0 this issue exists: N and M can be two numbers of any type. >>> (N+Mj).real() Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> (N+Mj).real() TypeError: 'float' object is not callable >>> (N+Mj).imag() Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> (N+Mj).imag() TypeError: 'float' object is not callable
---------- components: None messages: 79024 nosy: MagnetoHydroDynamics severity: normal status: open title: TypeError with complex.real() and complex.imag() type: behavior versions: Python 3.0 _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue4825> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
