Re: [docs] simplify int() signature docs (issue 16036)

Oct. 1, 2012
2:44 a.m.
http://bugs.python.org/review/16036/diff/6079/Doc/library/functions.rst File Doc/library/functions.rst (right): http://bugs.python.org/review/16036/diff/6079/Doc/library/functions.rst#newc... Doc/library/functions.rst:636: arguments are given. If *x* is a number, return :meth:`x.__int__() On 2012/10/01 01:45:03, cvrebert wrote:
Yes. http://bugs.python.org/review/16036/diff/6079/Doc/library/functions.rst#newc... Doc/library/functions.rst:650: ``int('010')`` is, as well as ``int('010', 8)``. On 2012/10/01 01:45:03, cvrebert wrote:
Shouldn't we mention somewhere that this raises ValueError and TypeError?
This paragraph might be rephrased a bit. http://bugs.python.org/review/16036/
4552
Age (days ago)
4552
Last active (days ago)
0 comments
1 participants
participants (1)
-
ezio.melotti@gmail.com