From: Georg Brandl Date: Sun, 18 Jan 2009 10:48:16 +0000 (+0000) Subject: #4914: trunc is in math. X-Git-Tag: v2.7a1~2265 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb550c99cb6e4b8e4a57c436f2b46587b21015d7;p=python #4914: trunc is in math. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index f6ec040843..b383a40829 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 | |