[Python-checkins] cpython (3.1): trunc -> math.trunc (closes #11475)
benjamin.peterson
python-checkins at python.org
Sat Mar 12 18:58:24 CET 2011
http://hg.python.org/cpython/rev/7fd06773c3c2
changeset: 68400:7fd06773c3c2
branch: 3.1
parent: 68395:1c4be28cda5b
user: Benjamin Peterson <benjamin at python.org>
date: Sat Mar 12 11:58:15 2011 -0600
summary:
trunc -> math.trunc (closes #11475)
files:
Doc/library/numbers.rst
diff --git a/Doc/library/numbers.rst b/Doc/library/numbers.rst
--- a/Doc/library/numbers.rst
+++ b/Doc/library/numbers.rst
@@ -45,7 +45,7 @@
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 ``>=``.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list