diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-07-01 23:35:37 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-07-01 23:35:37 (GMT) |
commit | 8a08ce25e2da7dd0ae0f160f56582f3ac7e277fb (patch) | |
tree | ffa9592f9a5b5a0db62cedb4af6dafb25ccd5894 | |
parent | 52a70c4a126220d550bf0a9f429fc0dc837fb8c9 (diff) | |
download | cpython-8a08ce25e2da7dd0ae0f160f56582f3ac7e277fb.zip cpython-8a08ce25e2da7dd0ae0f160f56582f3ac7e277fb.tar.gz cpython-8a08ce25e2da7dd0ae0f160f56582f3ac7e277fb.tar.bz2 |
trunc does use the special method, though
-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 31e64a2..e5ffba0 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 |