report at bugs
May 11, 2012, 8:50 AM
Post #1 of 3
New submission from Terry J. Reedy <tjreedy [at] udel>:
[issue14783] Update int() docstring from manual
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.
title: Update int() docstring from manual
versions: Python 3.2, Python 3.3
Python tracker <report [at] bugs>
Python-bugs-list mailing list