diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-02-10 21:29:51 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-02-10 21:29:51 (GMT) |
commit | d058cd2cc8e2a3f61609b92a8fc821ea8ec524ca (patch) | |
tree | 07e5d6aa70f60c886ca138de24fdca84686a0b54 /Misc | |
parent | da614dcc4f56bfb136c53b04d60889870d969926 (diff) | |
download | cpython-d058cd2cc8e2a3f61609b92a8fc821ea8ec524ca.zip cpython-d058cd2cc8e2a3f61609b92a8fc821ea8ec524ca.tar.gz cpython-d058cd2cc8e2a3f61609b92a8fc821ea8ec524ca.tar.bz2 |
Rename rational.Rational to fractions.Fraction, to avoid name clash
with numbers.Rational. See issue #1682 for related discussion.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -400,6 +400,10 @@ Core and builtins Library ------- +- Rename rational.py to fractions.py and the rational.Rational class + to fractions.Fraction, to avoid the name clash with the abstract + base class numbers.Rational. See discussion in issue #1682. + - The pickletools module now provides an optimize() function that eliminates unused PUT opcodes from a pickle string. |