Commit 1b1538f0 authored by Raymond Hettinger's avatar Raymond Hettinger

Improve docstring for divmod()

parent e2b33216
......@@ -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.");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment