Improve docstring for divmod()

This commit is contained in:
Raymond Hettinger 2011-07-19 11:59:20 -07:00
parent aff394b64f
commit 39540a0226
1 changed files with 1 additions and 1 deletions

View File

@ -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.");