mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #18758: Fixed and improved cross-references.
This commit is contained in:
parent
24201d497c
commit
bfdcd436f0
40 changed files with 144 additions and 125 deletions
|
@ -31,7 +31,7 @@ Number-theoretic and representation functions
|
|||
|
||||
Return the ceiling of *x*, the smallest integer greater than or equal to *x*.
|
||||
If *x* is not a float, delegates to ``x.__ceil__()``, which should return an
|
||||
:class:`Integral` value.
|
||||
:class:`~numbers.Integral` value.
|
||||
|
||||
|
||||
.. function:: copysign(x, y)
|
||||
|
@ -53,7 +53,7 @@ Number-theoretic and representation functions
|
|||
|
||||
Return the floor of *x*, the largest integer less than or equal to *x*.
|
||||
If *x* is not a float, delegates to ``x.__floor__()``, which should return an
|
||||
:class:`Integral` value.
|
||||
:class:`~numbers.Integral` value.
|
||||
|
||||
|
||||
.. function:: fmod(x, y)
|
||||
|
@ -133,8 +133,9 @@ Number-theoretic and representation functions
|
|||
|
||||
.. function:: trunc(x)
|
||||
|
||||
Return the :class:`Real` value *x* truncated to an :class:`Integral` (usually
|
||||
an integer). Delegates to ``x.__trunc__()``.
|
||||
Return the :class:`~numbers.Real` value *x* truncated to an
|
||||
:class:`~numbers.Integral` (usually an integer). Delegates to
|
||||
``x.__trunc__()``.
|
||||
|
||||
|
||||
Note that :func:`frexp` and :func:`modf` have a different call/return pattern
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue