From: Benjamin Peterson Date: Thu, 1 Jul 2010 23:41:09 +0000 (+0000) Subject: Merged revisions 82429 via svnmerge from X-Git-Tag: v2.6.6rc1~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afaeaf18ee76305bdebdd90d40a5630db58959ae;p=thirdparty%2FPython%2Fcpython.git Merged revisions 82429 via svnmerge from 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 ........ --- diff --git a/Doc/library/math.rst b/Doc/library/math.rst index e6a921686f7d..789ecccf0969 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -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