diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-04-28 19:38:48 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-04-28 19:38:48 (GMT) |
commit | fd58349556dba6fa5160afec2bcc7b46a68f224a (patch) | |
tree | 936d35133e0bb8fa41f53620a1ae13a7f2f7423f | |
parent | 64f8c7ec4f7ed37490e066d9f092323eeaa83c8c (diff) | |
download | cpython-fd58349556dba6fa5160afec2bcc7b46a68f224a.zip cpython-fd58349556dba6fa5160afec2bcc7b46a68f224a.tar.gz cpython-fd58349556dba6fa5160afec2bcc7b46a68f224a.tar.bz2 |
Issue #26874: Simplify the divmod docstring.
Now it actually matches the prose docs.
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 2621f94..2977bcd 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -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 * |