commit | 8a08ce25e2da7dd0ae0f160f56582f3ac7e277fb | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Jul 01 23:35:37 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Jul 01 23:35:37 2010 +0000 |
tree | ffa9592f9a5b5a0db62cedb4af6dafb25ccd5894 | |
parent | 52a70c4a126220d550bf0a9f429fc0dc837fb8c9 [diff] [blame] |
trunc does use the special method, though
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 @@ .. 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