diff options
| author | Raymond Hettinger <python@rcn.com> | 2005-04-09 14:55:07 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2005-04-09 14:55:07 +0000 |
| commit | bdaad8c93978b22fca49cb4eeea8cdea3610bafd (patch) | |
| tree | e19d9b88529db76b747591e09d7979e69af89875 /Doc/lib | |
| parent | ab9ec1654fa20f2217758e43da8201f4520d8914 (diff) | |
| download | cpython-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 'Doc/lib')
0 files changed, 0 insertions, 0 deletions
