From: Guido van Rossum Date: Mon, 12 Feb 1996 23:20:12 +0000 (+0000) Subject: atol supports trailing l/L if base is 0 X-Git-Tag: v1.4b1~363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=264302de3e9c9b68aac41d9268562911434a78b4;p=python atol supports trailing l/L if base is 0 --- diff --git a/Doc/lib/libstring.tex b/Doc/lib/libstring.tex index ac6dc557dd..2e79d43cb7 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 ac6dc557dd..2e79d43cb7 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}