]> granicus.if.org Git - python/commitdiff
atol supports trailing l/L if base is 0
authorGuido van Rossum <guido@python.org>
Mon, 12 Feb 1996 23:20:12 +0000 (23:20 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 12 Feb 1996 23:20:12 +0000 (23:20 +0000)
Doc/lib/libstring.tex
Doc/libstring.tex

index ac6dc557dd647572e2a42e8f6600ec6779903a22..2e79d43cb744b131e74656f861b0202f9bfd0f98 100644 (file)
@@ -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}
index ac6dc557dd647572e2a42e8f6600ec6779903a22..2e79d43cb744b131e74656f861b0202f9bfd0f98 100644 (file)
@@ -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}