[docs] [issue10809] complex() comments wrongly say it supports NaN and inf

Andrew Dalke report at bugs.python.org
Mon Jan 3 02:31:44 CET 2011

Andrew Dalke <dalke at dalkescientific.com> added the comment:

Well that's ... interesting. While I compiled 2.7 and was looking at the 2.7 code my tests were against 2.6. 

Python 2.7 (trunk:74969:87651M, Jan  2 2011, 21:58:12) 
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> complex("nan-nanj")

This means that the comments are correct and the error was in my understanding, as influenced by issue2121.

I therefore closed this.

resolution:  -> out of date
status: open -> closed

Python tracker <report at bugs.python.org>

More information about the docs mailing list