cd0ace391c140ce5f2135d7f291d672fb4891d88 |
|
08-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
remove svn:executable from scripts without a shebang line
/external/python/cpython2/Demo/classes/Complex.py
|
bdaad8c93978b22fca49cb4eeea8cdea3610bafd |
|
09-Apr-2005 |
Raymond Hettinger <python@rcn.com> |
* 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.
/external/python/cpython2/Demo/classes/Complex.py
|
4a1e48c566524e5c5d3f1fbac427f0734c874e9c |
|
09-Apr-2005 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #1177597: Correct various bugs, add comments.
/external/python/cpython2/Demo/classes/Complex.py
|
70a6b49821a3226f55e9716f32d802d06640cb89 |
|
12-Feb-2004 |
Walter Dörwald <walter@livinglogic.de> |
Replace backticks with repr() or "%r" From SF patch #852334.
/external/python/cpython2/Demo/classes/Complex.py
|
946c53ed7ff53f38792ac35e5da21de3e0a48ef2 |
|
24-Apr-2003 |
Andrew M. Kuchling <amk@amk.ca> |
Run these demo scripts through reindent.py to give them 4-space indents. I've verified that their output is unchanged.
/external/python/cpython2/Demo/classes/Complex.py
|
1a24bb53d562444fad22880a3606ed91c4f66057 |
|
09-Dec-1997 |
Guido van Rossum <guido@python.org> |
Fix the test for pow() -- no more TypeErrors are raised!
/external/python/cpython2/Demo/classes/Complex.py
|
72ba616066e6b90d32f2d0b49be394561bb1e518 |
|
30-Jul-1996 |
Guido van Rossum <guido@python.org> |
Added note about Python's support of complex numbers. Added exp(z).
/external/python/cpython2/Demo/classes/Complex.py
|
81a12bceb66addd44236b1321434ead622a1de88 |
|
08-Oct-1994 |
Guido van Rossum <guido@python.org> |
totally redone for new overloading scheme
/external/python/cpython2/Demo/classes/Complex.py
|
7565b934144012f25e8b22d888572c048f0eb21a |
|
17-Dec-1993 |
Guido van Rossum <guido@python.org> |
*** empty log message ***
/external/python/cpython2/Demo/classes/Complex.py
|
e876949f2b8a68646cac269cff9fd1c71975d3ac |
|
13-Aug-1992 |
Guido van Rossum <guido@python.org> |
Initial revision
/external/python/cpython2/Demo/classes/Complex.py
|