summaryrefslogtreecommitdiffstats
path: root/Doc/library/numbers.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-03-12 17:58:15 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-03-12 17:58:15 (GMT)
commitab2b71699cce1b6f2e3de34c8b79a433101a28b8 (patch)
treed03c5005d8df1aa8110d740ddba3c6794a51af2a /Doc/library/numbers.rst
parent37a79fb75b8f6d1833caee16c777d07b9338938f (diff)
downloadcpython-ab2b71699cce1b6f2e3de34c8b79a433101a28b8.zip
cpython-ab2b71699cce1b6f2e3de34c8b79a433101a28b8.tar.gz
cpython-ab2b71699cce1b6f2e3de34c8b79a433101a28b8.tar.bz2
trunc -> math.trunc (closes #11475)
Diffstat (limited to 'Doc/library/numbers.rst')
-rw-r--r--Doc/library/numbers.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/numbers.rst b/Doc/library/numbers.rst
index 67c2f33..df8d521 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 ``>=``.