diff options
author | Georg Brandl <georg@python.org> | 2008-07-01 20:39:59 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-07-01 20:39:59 (GMT) |
commit | 809ddaaafb9c08bcf42e1a9e93dd2f9f604bdd41 (patch) | |
tree | 1e176f2987074a527d13d2b88e0bda00c157b8b5 /Python/bltinmodule.c | |
parent | 13b6d0df63e6f29c18d8e3ec93d1ab822543ebce (diff) | |
download | cpython-809ddaaafb9c08bcf42e1a9e93dd2f9f604bdd41.zip cpython-809ddaaafb9c08bcf42e1a9e93dd2f9f604bdd41.tar.gz cpython-809ddaaafb9c08bcf42e1a9e93dd2f9f604bdd41.tar.bz2 |
#3191: fix round() docs and docstring.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 35ba781..bd826f0 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -1726,8 +1726,8 @@ PyDoc_STRVAR(round_doc, "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 * |