diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-11 18:14:08 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-11 18:14:08 (GMT) |
commit | a2fe334081295d53048dd78d16fb4352303a4991 (patch) | |
tree | 41ec61d0555f8396db5028b5547ffc541aea6274 /Doc/whatsnew/3.0.rst | |
parent | b79be95dacc9824a70952e017ecbb87ce5575f6e (diff) | |
download | cpython-a2fe334081295d53048dd78d16fb4352303a4991.zip cpython-a2fe334081295d53048dd78d16fb4352303a4991.tar.gz cpython-a2fe334081295d53048dd78d16fb4352303a4991.tar.bz2 |
Issue #15527: fix docs, remove double parens by changing markup.
Patch by Serhiy Storchaka.
Diffstat (limited to 'Doc/whatsnew/3.0.rst')
-rw-r--r-- | Doc/whatsnew/3.0.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index 55b65ba..762977c 100644 --- a/Doc/whatsnew/3.0.rst +++ b/Doc/whatsnew/3.0.rst @@ -812,7 +812,7 @@ Builtins * The :func:`round` function rounding strategy and return type have changed. Exact halfway cases are now rounded to the nearest even result instead of away from zero. (For example, ``round(2.5)`` now - returns ``2`` rather than ``3``.) :func:`round(x[, n])` now + returns ``2`` rather than ``3``.) ``round(x[, n])`` now delegates to ``x.__round__([n])`` instead of always returning a float. It generally returns an integer when called with a single argument and a value of the same type as ``x`` when called with two |