]> granicus.if.org Git - python/commit
Patch #1491866: change the complex() constructor to allow parthensized forms. This...
authorCollin Winter <collinw@gmail.com>
Fri, 9 Mar 2007 20:33:07 +0000 (20:33 +0000)
committerCollin Winter <collinw@gmail.com>
Fri, 9 Mar 2007 20:33:07 +0000 (20:33 +0000)
commite38051db87b92efeb09373bea3900cde073cda96
tree880eb2a1597a55c9f0edabe92dbf22bbffc28a3b
parent1bcffef959ce2424ab92d780cca06c9493eab6f9
Patch #1491866: change the complex() constructor to allow parthensized forms. This means complex(repr(x)) now works instead of raising a ValueError.
Lib/test/test_complex.py
Misc/NEWS
Objects/complexobject.c