commit | fd58349556dba6fa5160afec2bcc7b46a68f224a | [log] [tgz] |
---|---|---|
author | Zachary Ware <zachary.ware@gmail.com> | Thu Apr 28 14:38:48 2016 -0500 |
committer | Zachary Ware <zachary.ware@gmail.com> | Thu Apr 28 14:38:48 2016 -0500 |
tree | 936d35133e0bb8fa41f53620a1ae13a7f2f7423f | |
parent | 64f8c7ec4f7ed37490e066d9f092323eeaa83c8c [diff] [blame] |
Issue #26874: Simplify the divmod docstring. Now it actually matches the prose docs.
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 @@ 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 *