diff options
-rw-r--r-- | Python/bltinmodule.c | 2 | ||||
-rw-r--r-- | Python/clinic/bltinmodule.c.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index f9e6639..0637a2d 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -801,7 +801,7 @@ Return the tuple (x//y, x%y). Invariant: div*y + mod == x. static PyObject * builtin_divmod_impl(PyModuleDef *module, PyObject *x, PyObject *y) -/*[clinic end generated code: output=9ad0076120ebf9ac input=7fdb15f8a97a5fe7]*/ +/*[clinic end generated code: output=9ad0076120ebf9ac input=175ad9c84ff41a85]*/ { return PyNumber_Divmod(x, y); } diff --git a/Python/clinic/bltinmodule.c.h b/Python/clinic/bltinmodule.c.h index 7369148..90995e5 100644 --- a/Python/clinic/bltinmodule.c.h +++ b/Python/clinic/bltinmodule.c.h @@ -179,7 +179,7 @@ PyDoc_STRVAR(builtin_divmod__doc__, "divmod($module, x, y, /)\n" "--\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."); #define BUILTIN_DIVMOD_METHODDEF \ {"divmod", (PyCFunction)builtin_divmod, METH_VARARGS, builtin_divmod__doc__}, @@ -660,4 +660,4 @@ builtin_issubclass(PyModuleDef *module, PyObject *args) exit: return return_value; } -/*[clinic end generated code: output=bec3399c0aee98d7 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=4bef16b6aa432879 input=a9049054013a1b77]*/ |