Benjamin Peterson
cd0ace391c
remove svn:executable from scripts without a shebang line
2010-03-08 02:11:06 +00:00
Raymond Hettinger
bdaad8c939
* 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.
2005-04-09 14:55:07 +00:00
Martin v. Löwis
4a1e48c566
Patch #1177597 : Correct various bugs, add comments.
2005-04-09 10:51:19 +00:00
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Andrew M. Kuchling
946c53ed7f
Run these demo scripts through reindent.py to give them 4-space indents. I've verified that their output is unchanged.
2003-04-24 17:13:18 +00:00
Guido van Rossum
1a24bb53d5
Fix the test for pow() -- no more TypeErrors are raised!
1997-12-09 19:38:39 +00:00
Guido van Rossum
72ba616066
Added note about Python's support of complex numbers.
...
Added exp(z).
1996-07-30 19:02:01 +00:00
Guido van Rossum
81a12bceb6
totally redone for new overloading scheme
1994-10-08 18:56:41 +00:00
Guido van Rossum
7565b93414
*** empty log message ***
1993-12-17 14:23:52 +00:00
Guido van Rossum
e876949f2b
Initial revision
1992-08-13 12:14:11 +00:00