]> granicus.if.org Git - python/commit
Make the Rational constructor accept '3.' and '.2' as well as '3.2'.
authorMark Dickinson <dickinsm@gmail.com>
Sat, 2 Feb 2008 17:16:13 +0000 (17:16 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 2 Feb 2008 17:16:13 +0000 (17:16 +0000)
commit1dabdb25f83d55737c2154b63bc463240fd7bc03
tree95d920acab8e1d161cbd81371319aa4b55d61ea5
parent5a6cfee6320383ccc20d9fefbd0ebf1555b17909
Make the Rational constructor accept '3.' and '.2' as well as '3.2'.
Lib/rational.py
Lib/test/test_rational.py