summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-09-04 18:29:13 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-09-04 18:29:13 (GMT)
commitbce9cbaf98fa92718a4dfb7011f93aca3993b4d4 (patch)
tree24bfabe3267c8651c9cf29e8fac8bf8c2e6796b2 /Doc/library/functions.rst
parent6579502c7e4519243dfe3af1b1e646b168b01dd6 (diff)
parent871a3340b7d72a5ef783ace7baa5cd8428d226d2 (diff)
downloadcpython-bce9cbaf98fa92718a4dfb7011f93aca3993b4d4.zip
cpython-bce9cbaf98fa92718a4dfb7011f93aca3993b4d4.tar.gz
cpython-bce9cbaf98fa92718a4dfb7011f93aca3993b4d4.tar.bz2
Merge
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index be6f2ec..d621e87 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1237,8 +1237,8 @@ are always available. They are listed here in alphabetical order.
.. function:: round(number[, ndigits])
Return the floating point value *number* rounded to *ndigits* digits after
- the decimal point. If *ndigits* is omitted, it returns the nearest integer
- to its input. Delegates to ``number.__round__(ndigits)``.
+ the decimal point. If *ndigits* is omitted or is ``None``, it returns the
+ nearest integer to its input. Delegates to ``number.__round__(ndigits)``.
For the built-in types supporting :func:`round`, values are rounded to the
closest multiple of 10 to the power minus *ndigits*; if two multiples are