diff options
author | Guido van Rossum <guido@python.org> | 1996-02-12 23:20:12 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-02-12 23:20:12 (GMT) |
commit | 264302de3e9c9b68aac41d9268562911434a78b4 (patch) | |
tree | c84b5ad395332ebb87c04aece014dfa18510b332 | |
parent | c1715527fd0e55b90f21580410a4505414acebf1 (diff) | |
download | cpython-264302de3e9c9b68aac41d9268562911434a78b4.zip cpython-264302de3e9c9b68aac41d9268562911434a78b4.tar.gz cpython-264302de3e9c9b68aac41d9268562911434a78b4.tar.bz2 |
atol supports trailing l/L if base is 0
-rw-r--r-- | Doc/lib/libstring.tex | 2 | ||||
-rw-r--r-- | Doc/libstring.tex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libstring.tex b/Doc/lib/libstring.tex index ac6dc55..2e79d43 100644 --- a/Doc/lib/libstring.tex +++ b/Doc/lib/libstring.tex @@ -79,7 +79,7 @@ Convert string \var{s} to a long integer in the given \var{base}. The string must consist of one or more digits, optionally preceded by a sign (\samp{+} or \samp{-}). The \var{base} argument has the same meaning as for \code{atoi()}. A trailing \samp{l} or \samp{L} is not -allowed. +allowed, except if the base is 0. \end{funcdesc} \begin{funcdesc}{expandtabs}{s\, tabsize} diff --git a/Doc/libstring.tex b/Doc/libstring.tex index ac6dc55..2e79d43 100644 --- a/Doc/libstring.tex +++ b/Doc/libstring.tex @@ -79,7 +79,7 @@ Convert string \var{s} to a long integer in the given \var{base}. The string must consist of one or more digits, optionally preceded by a sign (\samp{+} or \samp{-}). The \var{base} argument has the same meaning as for \code{atoi()}. A trailing \samp{l} or \samp{L} is not -allowed. +allowed, except if the base is 0. \end{funcdesc} \begin{funcdesc}{expandtabs}{s\, tabsize} |