From 05bbb8cbcf15bddc3d07112ff7e474e225fa25a9 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Wed, 9 Apr 2014 07:03:27 -0400 Subject: [PATCH] Issue #21179: Fix description of 'round' function for numbers.Real. --- Doc/library/stdtypes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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* | | +--------------------+------------------------------------+--------+ -- 2.50.1