]> granicus.if.org Git - python/commitdiff
Correct docs for long(float).
authorTim Peters <tim.peters@gmail.com>
Sun, 30 Sep 2001 06:18:26 +0000 (06:18 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 30 Sep 2001 06:18:26 +0000 (06:18 +0000)
Doc/lib/libfuncs.tex

index 2eca4662e7b1d92fe88b436d14c437c26797403a..8eccc828a616820737cc8dc344f72af206242860 100644 (file)
@@ -489,8 +489,7 @@ the interpreter.
   Otherwise, the argument may be a plain or
   long integer or a floating point number, and a long integer with
   the same value is returned.    Conversion of floating
-  point numbers to integers is defined by the C semantics;
-  see the description of \function{int()}.
+  point numbers to integers truncates (towards zero).
 \end{funcdesc}
 
 \begin{funcdesc}{map}{function, list, ...}