From 3c5edd00a76c2903a5d7df812860ed5c42015baa Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 12 Mar 2011 11:58:15 -0600 Subject: trunc -> math.trunc (closes #11475) --- Doc/library/numbers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/numbers.rst b/Doc/library/numbers.rst index 300a6f3..a0a825f 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 ``>=``. -- cgit v0.12