summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-04-09 14:55:07 +0000
committerRaymond Hettinger <python@rcn.com>2005-04-09 14:55:07 +0000
commitbdaad8c93978b22fca49cb4eeea8cdea3610bafd (patch)
treee19d9b88529db76b747591e09d7979e69af89875 /Python/pythonrun.c
parentab9ec1654fa20f2217758e43da8201f4520d8914 (diff)
downloadcpython-git-bdaad8c93978b22fca49cb4eeea8cdea3610bafd.tar.gz
* Fix error in definition of Im() which returned self instead of 0
for non-complex arguments. * Replace type() comparisons with isinstance() checks. * Replace apply() calls with equivalent syntactic form. * Simplify __hash__ definition to hash the underlying tuple. * Use math.hypot() for more robust computation of __abs__(). * Use sorted() instead of the multi-step keys/sort/iter. * Update comment on the cmath module.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions