From: Georg Brandl Date: Mon, 24 Sep 2007 17:58:18 +0000 (+0000) Subject: #1196: document default radix for int(). X-Git-Tag: v2.5.2c1~173 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f2bd3efd5368f3a36697daae19cc62f39149501;p=python #1196: document default radix for int(). --- diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index f3c6d479ec..345074d8b5 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -533,7 +533,7 @@ class C: string, it must contain a possibly signed decimal number representable as a Python integer, possibly embedded in whitespace. The \var{radix} parameter gives the base for the - conversion and may be any integer in the range [2, 36], or zero. If + conversion (which is 10 by default) and may be any integer in the range [2, 36], or zero. If \var{radix} is zero, the proper radix is guessed based on the contents of string; the interpretation is the same as for integer literals. If \var{radix} is specified and \var{x} is not a string,