New submission from Terry J. Reedy <tjre...@udel.edu>:

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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14783>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to