summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-12-23 16:53:34 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2003-12-23 16:53:34 (GMT)
commit7a3786cc5580eadcb6b94d27c1059d4b88495606 (patch)
tree8c494a73dc55ea54c8f62a3dc7d8b4f083cf9975 /Doc
parent273069deec3ef10b4bf0730b4b9b84de87db602a (diff)
downloadcpython-7a3786cc5580eadcb6b94d27c1059d4b88495606.zip
cpython-7a3786cc5580eadcb6b94d27c1059d4b88495606.tar.gz
cpython-7a3786cc5580eadcb6b94d27c1059d4b88495606.tar.bz2
[Bug #857821] Remove mention of deprecated string.{atol,atof} functions. (Patch from Gerrit Holl)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libfuncs.tex6
1 files changed, 2 insertions, 4 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 99c586b..f7a5866 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -427,8 +427,7 @@ class C:
\begin{funcdesc}{float}{\optional{x}}
Convert a string or a number to floating point. If the argument is a
string, it must contain a possibly signed decimal or floating point
- number, possibly embedded in whitespace; this behaves identical to
- \code{string.atof(\var{x})}. Otherwise, the argument may be a plain
+ number, possibly embedded in whitespace. Otherwise, the argument may be a plain
or long integer or a floating point number, and a floating point
number with the same value (within Python's floating point
precision) is returned. If no argument is given, returns \code{0.0}.
@@ -612,8 +611,7 @@ class C:
\begin{funcdesc}{long}{\optional{x\optional{, radix}}}
Convert a string or number to a long integer. If the argument is a
string, it must contain a possibly signed number of
- arbitrary size, possibly embedded in whitespace;
- this behaves identical to \code{string.atol(\var{x})}. The
+ arbitrary size, possibly embedded in whitespace. The
\var{radix} argument is interpreted in the same way as for
\function{int()}, and may only be given when \var{x} is a string.
Otherwise, the argument may be a plain or