Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 48401:70a4ec412882
#3191: fix round() docs and docstring.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Tue, 01 Jul 2008 20:39:59 +0000 |
| parents | da47e7e135ae |
| children | 8f1346502234 |
line wrap: on
line diff
--- a/Python/bltinmodule.c Tue Jul 01 20:26:36 2008 +0000 +++ b/Python/bltinmodule.c Tue Jul 01 20:39:59 2008 +0000 @@ -1726,8 +1726,8 @@ "round(number[, ndigits]) -> floating point number\n\ \n\ Round a number to a given precision in decimal digits (default 0 digits).\n\ -This returns an int when called with one argument, otherwise a float.\n\ -Precision may be negative."); +This returns an int when called with one argument, otherwise a the\n\ +same type as the number. ndigits may be negative."); static PyObject *
