Commit 2e310b4c authored by Serhiy Storchaka's avatar Serhiy Storchaka

Regenerate Argument Clinic code for issue #26874.

parents 35470691 df071730
......@@ -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);
}
......
......@@ -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]*/
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment