New submission from MagnetoHydroDynamics <k...@asmussen.ws>:

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 <rep...@bugs.python.org>
<http://bugs.python.org/issue4825>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to