summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-07-01 23:35:37 +0000
committerBenjamin Peterson <benjamin@python.org>2010-07-01 23:35:37 +0000
commit09203c14b237f499dd468f51e53d333dcb2e564c (patch)
treea7694b273e0f65a7738012a4833104d71c920f74 /Doc
parenteaa4cc9b4cd0aede1f3866bdfe2048c4fa3c2379 (diff)
downloadcpython-09203c14b237f499dd468f51e53d333dcb2e564c.tar.gz
trunc does use the special method, though
Diffstat (limited to 'Doc')
-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 31e64a2147..e5ffba0d2c 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