Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab2b716

Browse files
committed
trunc -> math.trunc (closes #11475)
1 parent 37a79fb commit ab2b716

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/numbers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The numeric tower
4545
To :class:`Complex`, :class:`Real` adds the operations that work on real
4646
numbers.
4747

48-
In short, those are: a conversion to :class:`float`, :func:`trunc`,
48+
In short, those are: a conversion to :class:`float`, :func:`math.trunc`,
4949
:func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``,
5050
``%``, ``<``, ``<=``, ``>``, and ``>=``.
5151

0 commit comments

Comments
 (0)