summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-07-01 23:41:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-07-01 23:41:09 (GMT)
commitafaeaf18ee76305bdebdd90d40a5630db58959ae (patch)
tree1d527541e2350d1176a5843effbc50fce7188849
parent83568068800bf17135a68f6a60dcfffd584447f0 (diff)
downloadcpython-afaeaf18ee76305bdebdd90d40a5630db58959ae.zip
cpython-afaeaf18ee76305bdebdd90d40a5630db58959ae.tar.gz
cpython-afaeaf18ee76305bdebdd90d40a5630db58959ae.tar.bz2
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 ........
-rw-r--r--Doc/library/math.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index e6a9216..789eccc 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