]> granicus.if.org Git - python/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 300a6f305c4fca267874b9ce118d301a36e81026..a0a825f7b2086b7452f2faf449c397ad7811c866 100644 (file)
@@ -47,7 +47,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 ``>=``.