atol supports trailing l/L if base is 0

This commit is contained in:
Guido van Rossum 1996-02-12 23:20:12 +00:00
parent c1715527fd
commit 264302de3e
2 changed files with 2 additions and 2 deletions

View 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}

View 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}