[issue23229] add inf and nan to cmath module
STINNER Victor
report at bugs.python.org
Tue Jan 13 10:38:47 CET 2015
STINNER Victor added the comment:
Oh, there is also infj:
>>> complex(0, float("inf"))
infj
>>> complex("infj")
infj
>>> complex(0, float("nan"))
nanj
>>> complex("nanj")
nanj
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23229>
_______________________________________
More information about the Python-bugs-list
mailing list