mirror of https://github.com/python/cpython
trunc -> math.trunc (closes #11475)
This commit is contained in:
parent
2c8c62e64d
commit
3c5edd00a7
|
@ -47,7 +47,7 @@ The numeric tower
|
|||
To :class:`Complex`, :class:`Real` adds the operations that work on real
|
||||
numbers.
|
||||
|
||||
In short, those are: a conversion to :class:`float`, :func:`trunc`,
|
||||
In short, those are: a conversion to :class:`float`, :func:`math.trunc`,
|
||||
:func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``,
|
||||
``%``, ``<``, ``<=``, ``>``, and ``>=``.
|
||||
|
||||
|
|
Loading…
Reference in New Issue