Commit afaeaf18 authored by Benjamin Peterson's avatar Benjamin Peterson

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
........
parent 83568068
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment