
report at bugs
May 11, 2012, 8:50 AM
Post #1 of 3
(56 views)
Permalink
|
|
[issue14783] Update int() docstring from manual
|
|
New submission from Terry J. Reedy <tjreedy [at] udel>: int.__doc__ starts "int(x[, base]) -> integer". That is not exactly correct as x is not required and base is only allowed if x is a string. The 3.3 manual fixes both problems with "int([number | string[, base]])" I actually think the rest of the docstring might be replaced with the more accurate and informative manual entry. It might be condensed, but I am not sure what might be omitted. ---------- keywords: easy messages: 160416 nosy: terry.reedy priority: low severity: normal status: open title: Update int() docstring from manual versions: Python 3.2, Python 3.3 _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue14783> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|