From 809ddaaafb9c08bcf42e1a9e93dd2f9f604bdd41 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 1 Jul 2008 20:39:59 +0000 Subject: #3191: fix round() docs and docstring. --- Python/bltinmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/bltinmodule.c') diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 35ba781be3..bd826f0a57 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 * -- cgit v1.2.1