summaryrefslogtreecommitdiff
path: root/Modules/_weakref.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-07 17:35:15 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-07 17:35:15 +0300
commit1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb (patch)
treed0bac08478e97df6c9f949e0f9622a67d4d15d96 /Modules/_weakref.c
parentb8a2f51ceb636878ec767554eddbb11ff4502c55 (diff)
downloadcpython-git-1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb.tar.gz
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/_weakref.c')
-rw-r--r--Modules/_weakref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_weakref.c b/Modules/_weakref.c
index 7c99d7e786..805d6d0985 100644
--- a/Modules/_weakref.c
+++ b/Modules/_weakref.c
@@ -22,8 +22,8 @@ Return the number of weak references to 'object'.
[clinic start generated code]*/
static Py_ssize_t
-_weakref_getweakrefcount_impl(PyModuleDef *module, PyObject *object)
-/*[clinic end generated code: output=6a6ad0b98285e468 input=cedb69711b6a2507]*/
+_weakref_getweakrefcount_impl(PyObject *module, PyObject *object)
+/*[clinic end generated code: output=301806d59558ff3e input=cedb69711b6a2507]*/
{
PyWeakReference **list;