diff options
| author | Benjamin Peterson <benjamin@python.org> | 2010-07-01 15:07:15 +0000 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2010-07-01 15:07:15 +0000 |
| commit | 8d234ef079ade90c42d5d6a0f00a9697a65cb436 (patch) | |
| tree | 3a023e246d8fde4d32782f68527a0e0cda2c81ed | |
| parent | 74a6b5496fb9f5145b84143a1065ca89fbde8c0e (diff) | |
| download | cpython-8d234ef079ade90c42d5d6a0f00a9697a65cb436.tar.gz | |
remove docs about delegating to special methods; it does no such thing
| -rw-r--r-- | Doc/library/math.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 4b3d6d97c8..31e64a2147 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -57,9 +57,6 @@ Number-theoretic and representation functions Return the floor of *x* as a float, the largest integer value less than or equal to *x*. - .. versionchanged:: 2.6 - Added :meth:`__floor__` delegation. - .. function:: fmod(x, y) @@ -137,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). Delegates to ``x.__trunc__()``. + a long integer). .. versionadded:: 2.6 |
