[issue10610] Correct the float(), int() and complex() documentation

Alexander Belopolsky report at bugs.python.org
Fri Dec 3 02:58:53 CET 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

Should we also review the documentation for fractions and decimals?  For example, fractions are documented as accepting "strings of decimal digits", but given that we have presumably non-identical str.isdigit() and str.isdecimal() methods, the above definition begs a question whether accepted strings should be digits, decimals or both?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10610>
_______________________________________


More information about the Python-bugs-list mailing list