From: Benjamin Peterson Date: Sat, 12 Mar 2011 17:58:15 +0000 (-0600) Subject: trunc -> math.trunc (closes #11475) X-Git-Tag: v2.7.2rc1~257^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c5edd00a76c2903a5d7df812860ed5c42015baa;p=python trunc -> math.trunc (closes #11475) --- diff --git a/Doc/library/numbers.rst b/Doc/library/numbers.rst index 300a6f305c..a0a825f7b2 100644 --- a/Doc/library/numbers.rst +++ b/Doc/library/numbers.rst @@ -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 ``>=``.