diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-04-24 14:06:19 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-04-24 14:06:19 (GMT) |
commit | d4d95f8eac4718809cfb68f97c9881586596100a (patch) | |
tree | d9a603aa84d7d9f45a0937ae91163e8f2d4153de /Misc | |
parent | f21bd3cc2f5c7def415677dae85ea9383c7a571d (diff) | |
download | cpython-d4d95f8eac4718809cfb68f97c9881586596100a.zip cpython-d4d95f8eac4718809cfb68f97c9881586596100a.tar.gz cpython-d4d95f8eac4718809cfb68f97c9881586596100a.tar.bz2 |
Merged revisions 71832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71832 | mark.dickinson | 2009-04-24 14:56:07 +0100 (Fri, 24 Apr 2009) | 3 lines
Issue #5812: The two-argument form of the Fraction constructor
now accepts arbitrary Rational instances.
........
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -77,6 +77,10 @@ Core and Builtins Library ------- +- Issue #5812: For the two-argument form of the Fraction constructor, + Fraction(m, n), m and n are permitted to be arbitrary Rational + instances. + - Issue #5812: Fraction('1e6') is valid: more generally, any string that's valid for float() is now valid for Fraction(), with the exception of strings representing NaNs and infinities. |