From: Benjamin Peterson Date: Thu, 1 Jul 2010 15:07:15 +0000 (+0000) Subject: remove docs about delegating to special methods; it does no such thing X-Git-Tag: v2.7~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b670624ac5412b81353c168295de33250935d77;p=thirdparty%2FPython%2Fcpython.git remove docs about delegating to special methods; it does no such thing --- diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 4b3d6d97c8ba..31e64a21470c 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