diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 15:20:03 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 15:20:03 (GMT) |
commit | 2954f8399914c77e048f9e3358abfadb7a3f76e9 (patch) | |
tree | c8398eb8aa516e897bbafe9e43cb115d0365bcb0 /Modules/clinic/_tkinter.c.h | |
parent | 50600a78cb6b0e4ea47033a2fd5e982c20a5d946 (diff) | |
parent | 1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb (diff) | |
download | cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.zip cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.tar.gz cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.tar.bz2 |
- Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic. Patch by Petr Viktorin.
Diffstat (limited to 'Modules/clinic/_tkinter.c.h')
-rw-r--r-- | Modules/clinic/_tkinter.c.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/clinic/_tkinter.c.h b/Modules/clinic/_tkinter.c.h index 73527fc..edd5380 100644 --- a/Modules/clinic/_tkinter.c.h +++ b/Modules/clinic/_tkinter.c.h @@ -546,13 +546,13 @@ PyDoc_STRVAR(_tkinter_create__doc__, {"create", (PyCFunction)_tkinter_create, METH_VARARGS, _tkinter_create__doc__}, static PyObject * -_tkinter_create_impl(PyModuleDef *module, const char *screenName, +_tkinter_create_impl(PyObject *module, const char *screenName, const char *baseName, const char *className, int interactive, int wantobjects, int wantTk, int sync, const char *use); static PyObject * -_tkinter_create(PyModuleDef *module, PyObject *args) +_tkinter_create(PyObject *module, PyObject *args) { PyObject *return_value = NULL; const char *screenName = NULL; @@ -586,10 +586,10 @@ PyDoc_STRVAR(_tkinter_setbusywaitinterval__doc__, {"setbusywaitinterval", (PyCFunction)_tkinter_setbusywaitinterval, METH_O, _tkinter_setbusywaitinterval__doc__}, static PyObject * -_tkinter_setbusywaitinterval_impl(PyModuleDef *module, int new_val); +_tkinter_setbusywaitinterval_impl(PyObject *module, int new_val); static PyObject * -_tkinter_setbusywaitinterval(PyModuleDef *module, PyObject *arg) +_tkinter_setbusywaitinterval(PyObject *module, PyObject *arg) { PyObject *return_value = NULL; int new_val; @@ -613,10 +613,10 @@ PyDoc_STRVAR(_tkinter_getbusywaitinterval__doc__, {"getbusywaitinterval", (PyCFunction)_tkinter_getbusywaitinterval, METH_NOARGS, _tkinter_getbusywaitinterval__doc__}, static int -_tkinter_getbusywaitinterval_impl(PyModuleDef *module); +_tkinter_getbusywaitinterval_impl(PyObject *module); static PyObject * -_tkinter_getbusywaitinterval(PyModuleDef *module, PyObject *Py_UNUSED(ignored)) +_tkinter_getbusywaitinterval(PyObject *module, PyObject *Py_UNUSED(ignored)) { PyObject *return_value = NULL; int _return_value; @@ -638,4 +638,4 @@ exit: #ifndef _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF #define _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF #endif /* !defined(_TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF) */ -/*[clinic end generated code: output=13be3f8313bba3c7 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=836c578b71d69097 input=a9049054013a1b77]*/ |