diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 14:35:15 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 14:35:15 (GMT) |
commit | 1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb (patch) | |
tree | d0bac08478e97df6c9f949e0f9622a67d4d15d96 /Modules/clinic/_weakref.c.h | |
parent | b8a2f51ceb636878ec767554eddbb11ff4502c55 (diff) | |
download | cpython-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.zip cpython-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.tar.gz cpython-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.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/_weakref.c.h')
-rw-r--r-- | Modules/clinic/_weakref.c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/_weakref.c.h b/Modules/clinic/_weakref.c.h index 87c701c..b83b33e 100644 --- a/Modules/clinic/_weakref.c.h +++ b/Modules/clinic/_weakref.c.h @@ -12,10 +12,10 @@ PyDoc_STRVAR(_weakref_getweakrefcount__doc__, {"getweakrefcount", (PyCFunction)_weakref_getweakrefcount, METH_O, _weakref_getweakrefcount__doc__}, static Py_ssize_t -_weakref_getweakrefcount_impl(PyModuleDef *module, PyObject *object); +_weakref_getweakrefcount_impl(PyObject *module, PyObject *object); static PyObject * -_weakref_getweakrefcount(PyModuleDef *module, PyObject *object) +_weakref_getweakrefcount(PyObject *module, PyObject *object) { PyObject *return_value = NULL; Py_ssize_t _return_value; @@ -28,4 +28,4 @@ _weakref_getweakrefcount(PyModuleDef *module, PyObject *object) exit: return return_value; } -/*[clinic end generated code: output=4da9aade63eed77f input=a9049054013a1b77]*/ +/*[clinic end generated code: output=d9086c8576d46933 input=a9049054013a1b77]*/ |