summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libstring.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-21 05:25:30 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-21 05:25:30 (GMT)
commitfffe5dbc47785b13a10fbdec54e8fb26d091d9bc (patch)
tree84a4bbaa9404d8e2e2078336e1e27a3891344b5c /Doc/lib/libstring.tex
parentf5855746fe0851e5a80b32061cb819021285ff25 (diff)
downloadcpython-fffe5dbc47785b13a10fbdec54e8fb26d091d9bc.zip
cpython-fffe5dbc47785b13a10fbdec54e8fb26d091d9bc.tar.gz
cpython-fffe5dbc47785b13a10fbdec54e8fb26d091d9bc.tar.bz2
Fixed a number of small problems reported by Detlef Lannert
<lannert@uni-duesseldorf.de>.
Diffstat (limited to 'Doc/lib/libstring.tex')
-rw-r--r--Doc/lib/libstring.tex11
1 files changed, 5 insertions, 6 deletions
diff --git a/Doc/lib/libstring.tex b/Doc/lib/libstring.tex
index 82b96a1..8905aa6 100644
--- a/Doc/lib/libstring.tex
+++ b/Doc/lib/libstring.tex
@@ -91,12 +91,11 @@ The functions defined in this module are:
is 0, a default base is chosen depending on the leading characters
of the string (after stripping the sign): \samp{0x} or \samp{0X}
means 16, \samp{0} means 8, anything else means 10. If \var{base}
- is 16, a leading \samp{0x} or \samp{0X} is always accepted. Note
- that when invoked without \var{base} or with \var{base} set to 10,
- this behaves identical to the built-in function \function{int()}
- when passed a string. (Also note: for a more flexible
- interpretation of numeric literals, use the built-in function
- \function{eval()}\bifuncindex{eval}.)
+ is 16, a leading \samp{0x} or \samp{0X} is always accepted, though
+ not required. This behaves identically to the built-in function
+ \function{int()} when passed a string. (Also note: for a more
+ flexible interpretation of numeric literals, use the built-in
+ function \function{eval()}\bifuncindex{eval}.)
\end{funcdesc}
\begin{funcdesc}{atol}{s\optional{, base}}