1. Armin Rigo
  2. cpython-withatomic


Benjamin Peterson  committed 8b8f369

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

  • Participants
  • Parent commits b04616b
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Doc/library/math.rst

View file
  • Ignore whitespace
    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)
 .. 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