[issue3285] Fraction.from_any()
Raymond Hettinger
report at bugs.python.org
Thu Jul 10 16:36:32 CEST 2008
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
Adopted the solution used by functions in the math module. Functions
that accept floats also accept integral inputs. This improves
usability in face of mixed float/int data or decimal/int data.
See r64846.
----------
resolution: -> fixed
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3285>
_______________________________________
More information about the Python-bugs-list
mailing list