summaryrefslogtreecommitdiffstats
path: root/Modules/_weakref.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2013-11-23 22:54:00 (GMT)
committerLarry Hastings <larry@hastings.org>2013-11-23 22:54:00 (GMT)
commitebdcb50b8a0d37af4acd7d2387eae8ff2b5f0b9b (patch)
tree37c439db53352c588bac7c9fb5b05457ce52fa3e /Modules/_weakref.c
parent3a9079742f2d71e6968823e155f3778473113538 (diff)
downloadcpython-ebdcb50b8a0d37af4acd7d2387eae8ff2b5f0b9b.zip
cpython-ebdcb50b8a0d37af4acd7d2387eae8ff2b5f0b9b.tar.gz
cpython-ebdcb50b8a0d37af4acd7d2387eae8ff2b5f0b9b.tar.bz2
Issue #19730: Argument Clinic now supports all the existing PyArg
"format units" as legacy converters, as well as two new features: "self converters" and the "version" directive.
Diffstat (limited to 'Modules/_weakref.c')
-rw-r--r--Modules/_weakref.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_weakref.c b/Modules/_weakref.c
index 771639d..af845ff 100644
--- a/Modules/_weakref.c
+++ b/Modules/_weakref.c
@@ -25,10 +25,10 @@ PyDoc_STRVAR(_weakref_getweakrefcount__doc__,
{"getweakrefcount", (PyCFunction)_weakref_getweakrefcount, METH_O, _weakref_getweakrefcount__doc__},
static Py_ssize_t
-_weakref_getweakrefcount_impl(PyObject *module, PyObject *object);
+_weakref_getweakrefcount_impl(PyModuleDef *module, PyObject *object);
static PyObject *
-_weakref_getweakrefcount(PyObject *module, PyObject *object)
+_weakref_getweakrefcount(PyModuleDef *module, PyObject *object)
{
PyObject *return_value = NULL;
Py_ssize_t _return_value;
@@ -42,8 +42,8 @@ exit:
}
static Py_ssize_t
-_weakref_getweakrefcount_impl(PyObject *module, PyObject *object)
-/*[clinic checksum: 05cffbc3a4b193a0b7e645da81be281748704f69]*/
+_weakref_getweakrefcount_impl(PyModuleDef *module, PyObject *object)
+/*[clinic checksum: 015113be0c9a0a8672d35df10c63e3642cc23da4]*/
{
PyWeakReference **list;