summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-18 10:48:16 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-18 10:48:16 (GMT)
commitbb550c99cb6e4b8e4a57c436f2b46587b21015d7 (patch)
treeea6c819e40fd5fccf1287a57111c6fc1d5223253
parent79f722da6c10e059445e241509acea4773f225cc (diff)
downloadcpython-bb550c99cb6e4b8e4a57c436f2b46587b21015d7.zip
cpython-bb550c99cb6e4b8e4a57c436f2b46587b21015d7.tar.gz
cpython-bb550c99cb6e4b8e4a57c436f2b46587b21015d7.tar.bz2
#4914: trunc is in math.
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index f6ec040..b383a40 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -375,7 +375,7 @@ All :class:`numbers.Real` types (:class:`int`, :class:`long`, and
+--------------------+------------------------------------+--------+
| Operation | Result | Notes |
+====================+====================================+========+
-| ``trunc(x)`` | *x* truncated to Integral | |
+| ``math.trunc(x)`` | *x* truncated to Integral | |
+--------------------+------------------------------------+--------+
| ``round(x[, n])`` | *x* rounded to n digits, | |
| | rounding half to even. If n is | |