#1196: document default radix for int().

This commit is contained in:
Georg Brandl 2007-09-24 17:58:18 +00:00
parent cdceeb814d
commit 2f2bd3efd5
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ class C:
string, it must contain a possibly signed decimal number string, it must contain a possibly signed decimal number
representable as a Python integer, possibly embedded in whitespace. representable as a Python integer, possibly embedded in whitespace.
The \var{radix} parameter gives the base for the 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 \var{radix} is zero, the proper radix is guessed based on the
contents of string; the interpretation is the same as for integer contents of string; the interpretation is the same as for integer
literals. If \var{radix} is specified and \var{x} is not a string, literals. If \var{radix} is specified and \var{x} is not a string,