Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
7f9915e34e508bec0aba11fb2112bc597d98e4f7
/
Demo
/
classes
/
Rat.py
946c53e
Run these demo scripts through reindent.py to give them 4-space indents. I've verified that their output is unchanged.
by Andrew M. Kuchling
· 22 years ago
4f237b6
Modernize code by using isinstance() instead of type() checks
by Andrew M. Kuchling
· 22 years ago
64b3c83
Avoid TypeError by not comparing complex numbers
by Andrew M. Kuchling
· 22 years ago
7ca9a1a
Fix a bug where comparison of a rational with a float failed because
by Guido van Rossum
· 26 years ago
0609f19
A completely new Rat.py by Sjoerd.
by Guido van Rossum
· 27 years ago
2e61103
adapted to new overloading scheme
by Guido van Rossum
· 30 years ago
7565b93
*** empty log message ***
by Guido van Rossum
· 31 years ago
f1bbf9c
Add coercions
by Guido van Rossum
· 31 years ago
e876949
Initial revision
by Guido van Rossum
· 32 years ago