Commit 7b670624 authored by Benjamin Peterson's avatar Benjamin Peterson

remove docs about delegating to special methods; it does no such thing

parent c262a69f
...@@ -57,9 +57,6 @@ Number-theoretic and representation functions ...@@ -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 Return the floor of *x* as a float, the largest integer value less than or equal
to *x*. to *x*.
.. versionchanged:: 2.6
Added :meth:`__floor__` delegation.
.. function:: fmod(x, y) .. function:: fmod(x, y)
...@@ -137,7 +134,7 @@ Number-theoretic and representation functions ...@@ -137,7 +134,7 @@ Number-theoretic and representation functions
.. function:: trunc(x) .. function:: trunc(x)
Return the :class:`Real` value *x* truncated to an :class:`Integral` (usually 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 .. versionadded:: 2.6
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment