]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix Decimal.from_float to use valid Python 2.3 syntax, as per
authorMark Dickinson <dickinsm@gmail.com>
Sun, 4 Jan 2009 21:10:56 +0000 (21:10 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sun, 4 Jan 2009 21:10:56 +0000 (21:10 +0000)
commit6a961637a826ab6293293866a43d5924cf1a77e7
tree6627c3117a682dcc6f7a5190e65818b7242d72f8
parent1de33270158b7641bd7260fc6f0c5c4b536438b9
Fix Decimal.from_float to use valid Python 2.3 syntax, as per
comments at top of decimal.py.  (But note that the from_float
method itself with still not be usable before Python 2.7.)
See issue 4796 for discussion.
Lib/decimal.py