From fd58349556dba6fa5160afec2bcc7b46a68f224a Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Thu, 28 Apr 2016 14:38:48 -0500 Subject: [PATCH] Issue #26874: Simplify the divmod docstring. Now it actually matches the prose docs. --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 2621f947cc..2977bcd77e 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 * -- 2.50.1