summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-07-19 18:59:20 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-07-19 18:59:20 (GMT)
commit39540a02264998c5682eaa12d6e5ce6713b9056e (patch)
tree4cb1bfb3ce311ed39e69d63269865e9dba2b0acc
parentaff394b64f772550e2631c44ce6a9c163ca07380 (diff)
downloadcpython-39540a02264998c5682eaa12d6e5ce6713b9056e.zip
cpython-39540a02264998c5682eaa12d6e5ce6713b9056e.tar.gz
cpython-39540a02264998c5682eaa12d6e5ce6713b9056e.tar.bz2
Improve docstring for divmod()
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index c746e41..a9a7ad1 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -604,7 +604,7 @@ builtin_divmod(PyObject *self, PyObject *args)
}
PyDoc_STRVAR(divmod_doc,
-"divmod(x, y) -> (div, mod)\n\
+"divmod(x, y) -> (quotient, remainder)\n\
\n\
Return the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x.");