summaryrefslogtreecommitdiffstats
path: root/Doc/tut
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-17 16:08:45 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-17 16:08:45 (GMT)
commit2b869943fa284be9f3b9572df10b334f12962aa6 (patch)
tree4b14375b0251356b2399d78107c2cb3d4f7fc111 /Doc/tut
parent6f187743ffbce522c9d686ae5393272c1eb85dcc (diff)
downloadcpython-2b869943fa284be9f3b9572df10b334f12962aa6.zip
cpython-2b869943fa284be9f3b9572df10b334f12962aa6.tar.gz
cpython-2b869943fa284be9f3b9572df10b334f12962aa6.tar.bz2
Patch #1675423: PyComplex_AsCComplex() now tries to convert an object
to complex using its __complex__() method before falling back to the __float__() method. Therefore, the functions in the cmath module now can operate on objects that define a __complex__() method. (backport)
Diffstat (limited to 'Doc/tut')
0 files changed, 0 insertions, 0 deletions