From: Mark Dickinson Date: Wed, 9 Apr 2014 11:03:27 +0000 (-0400) Subject: Issue #21179: Fix description of 'round' function for numbers.Real. X-Git-Tag: v2.7.7rc1~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05bbb8cbcf15bddc3d07112ff7e474e225fa25a9;p=python Issue #21179: Fix description of 'round' function for numbers.Real. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index b474114b10..9e236a5460 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -399,8 +399,8 @@ All :class:`numbers.Real` types (:class:`int`, :class:`long`, and | ``math.trunc(x)`` | *x* truncated to Integral | | +--------------------+------------------------------------+--------+ | ``round(x[, n])`` | *x* rounded to n digits, | | -| | rounding half to even. If n is | | -| | omitted, it defaults to 0. | | +| | rounding ties away from zero. If n | | +| | is omitted, it defaults to 0. | | +--------------------+------------------------------------+--------+ | ``math.floor(x)`` | the greatest integral float <= *x* | | +--------------------+------------------------------------+--------+