Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bce9cba

Browse files
committed
Merge
2 parents 6579502 + 871a334 commit bce9cba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,8 +1237,8 @@ are always available. They are listed here in alphabetical order.
12371237
.. function:: round(number[, ndigits])
12381238

12391239
Return the floating point value *number* rounded to *ndigits* digits after
1240-
the decimal point. If *ndigits* is omitted, it returns the nearest integer
1241-
to its input. Delegates to ``number.__round__(ndigits)``.
1240+
the decimal point. If *ndigits* is omitted or is ``None``, it returns the
1241+
nearest integer to its input. Delegates to ``number.__round__(ndigits)``.
12421242

12431243
For the built-in types supporting :func:`round`, values are rounded to the
12441244
closest multiple of 10 to the power minus *ndigits*; if two multiples are

0 commit comments

Comments
 (0)