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
........
This commit is contained in:
Benjamin Peterson 2010-07-01 23:41:09 +00:00
parent 8356806880
commit afaeaf18ee
1 changed files with 1 additions and 1 deletions

View 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