]> granicus.if.org Git - python/commitdiff
Merged revisions 82429 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Thu, 1 Jul 2010 23:41:09 +0000 (23:41 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 1 Jul 2010 23:41:09 +0000 (23:41 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82429 | benjamin.peterson | 2010-07-01 18:35:37 -0500 (Thu, 01 Jul 2010) | 1 line

  trunc does use the special method, though
........

Doc/library/math.rst

index e6a921686f7d6d57f9e80e9bc9667045ef2ffd8b..789ecccf0969c905044b95e73ef66239fe07c7f6 100644 (file)
@@ -134,7 +134,7 @@ Number-theoretic and representation functions
 .. 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