diff options
| author | Benjamin Peterson <benjamin@python.org> | 2010-07-01 23:35:37 +0000 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2010-07-01 23:35:37 +0000 |
| commit | 09203c14b237f499dd468f51e53d333dcb2e564c (patch) | |
| tree | a7694b273e0f65a7738012a4833104d71c920f74 /Doc | |
| parent | eaa4cc9b4cd0aede1f3866bdfe2048c4fa3c2379 (diff) | |
| download | cpython-09203c14b237f499dd468f51e53d333dcb2e564c.tar.gz | |
trunc does use the special method, though
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/library/math.rst | 2 |
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 |
