From: Benjamin Peterson Date: Sat, 12 Mar 2011 17:58:15 +0000 (-0600) Subject: trunc -> math.trunc (closes #11475) X-Git-Tag: v3.2.1b1~320^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab2b71699cce1b6f2e3de34c8b79a433101a28b8;p=thirdparty%2FPython%2Fcpython.git trunc -> math.trunc (closes #11475) --- diff --git a/Doc/library/numbers.rst b/Doc/library/numbers.rst index 67c2f339dda6..df8d52168ca7 100644 --- a/Doc/library/numbers.rst +++ b/Doc/library/numbers.rst @@ -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 ``>=``.