[Python-checkins] r68721 - python/trunk/Doc/library/stdtypes.rst
georg.brandl
python-checkins at python.org
Sun Jan 18 11:48:16 CET 2009
Author: georg.brandl
Date: Sun Jan 18 11:48:16 2009
New Revision: 68721
Log:
#4914: trunc is in math.
Modified:
python/trunk/Doc/library/stdtypes.rst
Modified: python/trunk/Doc/library/stdtypes.rst
==============================================================================
--- python/trunk/Doc/library/stdtypes.rst (original)
+++ python/trunk/Doc/library/stdtypes.rst Sun Jan 18 11:48:16 2009
@@ -375,7 +375,7 @@
+--------------------+------------------------------------+--------+
| 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 | |
More information about the Python-checkins
mailing list