[Python-checkins] r82429 - python/trunk/Doc/library/math.rst

benjamin.peterson python-checkins at python.org
Fri Jul 2 01:35:37 CEST 2010


Author: benjamin.peterson
Date: Fri Jul  2 01:35:37 2010
New Revision: 82429

Log:
trunc does use the special method, though

Modified:
   python/trunk/Doc/library/math.rst

Modified: python/trunk/Doc/library/math.rst
==============================================================================
--- python/trunk/Doc/library/math.rst	(original)
+++ python/trunk/Doc/library/math.rst	Fri Jul  2 01:35:37 2010
@@ -134,7 +134,7 @@
 .. function:: trunc(x)
 
    Return the :class:`Real` value *x* truncated to an :class:`Integral` (usually
-   a long integer).
+   a long integer).  Uses the ``__trunc__`` method.
 
    .. versionadded:: 2.6
 


More information about the Python-checkins mailing list