mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
trunc -> math.trunc (closes #11475)
This commit is contained in:
parent
37a79fb75b
commit
ab2b71699c
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,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…
Add table
Add a link
Reference in a new issue