From afaeaf18ee76305bdebdd90d40a5630db58959ae Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 1 Jul 2010 23:41:09 +0000 Subject: [PATCH] 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 ........ --- Doc/library/math.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/math.rst b/Doc/library/math.rst index e6a921686f7..789ecccf096 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