Issue #27332: Fixed the type of the first argument of module-level functions

generated by Argument Clinic.  Patch by Petr Viktorin.
This commit is contained in:
Serhiy Storchaka 2016-07-07 17:35:15 +03:00
parent b8a2f51ceb
commit 1a2b24f02d
71 changed files with 1814 additions and 1835 deletions

View file

@ -12,10 +12,10 @@ PyDoc_STRVAR(_opcode_stack_effect__doc__,
{"stack_effect", (PyCFunction)_opcode_stack_effect, METH_VARARGS, _opcode_stack_effect__doc__},
static int
_opcode_stack_effect_impl(PyModuleDef *module, int opcode, PyObject *oparg);
_opcode_stack_effect_impl(PyObject *module, int opcode, PyObject *oparg);
static PyObject *
_opcode_stack_effect(PyModuleDef *module, PyObject *args)
_opcode_stack_effect(PyObject *module, PyObject *args)
{
PyObject *return_value = NULL;
int opcode;
@ -33,4 +33,4 @@ _opcode_stack_effect(PyModuleDef *module, PyObject *args)
exit:
return return_value;
}
/*[clinic end generated code: output=8ee7cb735705e8b3 input=a9049054013a1b77]*/
/*[clinic end generated code: output=984d6de140303d10 input=a9049054013a1b77]*/