Commit 2b64929f authored by Guido van Rossum's avatar Guido van Rossum

atol supports trailing l/L if base is 0

parent da1f151f
......@@ -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}
......
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment