]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
trunc -> math.trunc (closes #11475)
authorBenjamin Peterson <benjamin@python.org>
Sat, 12 Mar 2011 17:58:15 +0000 (11:58 -0600)
committerBenjamin Peterson <benjamin@python.org>
Sat, 12 Mar 2011 17:58:15 +0000 (11:58 -0600)
Doc/library/numbers.rst

index 67c2f339dda6c1ff8662899e523c3ab327a2be4d..df8d52168ca706ba2d5f839f59d04e7b3aa80e1f 100644 (file)
@@ -45,7 +45,7 @@ The numeric tower
    To :class:`Complex`, :class:`Real` adds the operations that work on real
    numbers.
 
-   In short, those are: a conversion to :class:`float`, :func:`trunc`,
+   In short, those are: a conversion to :class:`float`, :func:`math.trunc`,
    :func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``,
    ``%``, ``<``, ``<=``, ``>``, and ``>=``.