From 264302de3e9c9b68aac41d9268562911434a78b4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 12 Feb 1996 23:20:12 +0000 Subject: atol supports trailing l/L if base is 0 --- Doc/lib/libstring.tex | 2 +- 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} -- cgit v0.12