[New-bugs-announce] [issue29749] Outdated int() docstring
STINNER Victor
report at bugs.python.org
Tue Mar 7 08:44:49 EST 2017
New submission from STINNER Victor:
bpo-29695 removed "bad keyword parameters in int(), bool(), float(), list() and tuple()", but int docstring (at least) is now outdated:
haypo at selma$ ./python
Python 3.7.0a0 (master:8f6b344d368c15c3fe56c65c2f2776e7766fef55, Mar 7 >>> help(int)
class int(object)
| int(x=0) -> integer
| int(x, base=10) -> integer
...
>>> int(x=0)
TypeError: 'x' is an invalid keyword argument for this function
----------
messages: 289163
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Outdated int() docstring
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29749>
_______________________________________
More information about the New-bugs-announce
mailing list