]> granicus.if.org Git - python/commit
Add support for int(r) just like the other numeric classes.
authorRaymond Hettinger <python@rcn.com>
Thu, 24 Jan 2008 19:30:19 +0000 (19:30 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 24 Jan 2008 19:30:19 +0000 (19:30 +0000)
commit5b0e27e50d33f33515f31ff6fec123f5e2be9d73
tree89c7bda9381f616f1cc09c32eaea319b37aa3201
parent5ca924038dd196217cedd4b02480ea16acd634f3
Add support for int(r) just like the other numeric classes.
Lib/rational.py
Lib/test/test_rational.py