From bb550c99cb6e4b8e4a57c436f2b46587b21015d7 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 18 Jan 2009 10:48:16 +0000 Subject: #4914: trunc is in math. --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index f6ec040..b383a40 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -375,7 +375,7 @@ All :class:`numbers.Real` types (:class:`int`, :class:`long`, and +--------------------+------------------------------------+--------+ | Operation | Result | Notes | +====================+====================================+========+ -| ``trunc(x)`` | *x* truncated to Integral | | +| ``math.trunc(x)`` | *x* truncated to Integral | | +--------------------+------------------------------------+--------+ | ``round(x[, n])`` | *x* rounded to n digits, | | | | rounding half to even. If n is | | -- cgit v0.12