summaryrefslogtreecommitdiffstats
path: root/Demo/classes/Rat.py
Commit message (Expand)AuthorAgeFilesLines
* Add rational.Rational as an implementation of numbers.Rational with infiniteJeffrey Yasskin2008-01-151-310/+0
* Run these demo scripts through reindent.py to give them 4-space indents. I'v...Andrew M. Kuchling2003-04-241-279/+279
* Modernize code by using isinstance() instead of type() checksAndrew M. Kuchling2003-04-241-16/+14
* Avoid TypeError by not comparing complex numbersAndrew M. Kuchling2003-04-241-1/+6
* Fix a bug where comparison of a rational with a float failed becauseGuido van Rossum1998-09-091-9/+9
* A completely new Rat.py by Sjoerd.Guido van Rossum1997-05-131-56/+260
* adapted to new overloading schemeGuido van Rossum1994-10-091-21/+27
* *** empty log message ***Guido van Rossum1993-12-171-5/+6
* Add coercionsGuido van Rossum1993-10-271-2/+12
* Initial revisionGuido van Rossum1992-08-131-0/+86