Commit fd583495 authored by Zachary Ware's avatar Zachary Ware

Issue #26874: Simplify the divmod docstring.

Now it actually matches the prose docs.
parent 64f8c7ec
......@@ -625,7 +625,7 @@ builtin_divmod(PyObject *self, PyObject *args)
PyDoc_STRVAR(divmod_doc,
"divmod(x, y) -> (quotient, remainder)\n\
\n\
Return the tuple ((x-x%y)//y, x%y). Invariant: div*y + mod == x.");
Return the tuple (x//y, x%y). Invariant: div*y + mod == x.");
static PyObject *
......
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