]> granicus.if.org Git - python/commitdiff
remove docs about delegating to special methods; it does no such thing
authorBenjamin Peterson <benjamin@python.org>
Thu, 1 Jul 2010 15:07:15 +0000 (15:07 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 1 Jul 2010 15:07:15 +0000 (15:07 +0000)
Doc/library/math.rst

index 4b3d6d97c8ba5ff07b85426ad39e771c5241bdc0..31e64a21470c8f5ad6a018500a490ba3fb1cdc21 100644 (file)
@@ -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