diff options
author | Larry Hastings <larry@hastings.org> | 2013-11-18 17:32:13 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2013-11-18 17:32:13 (GMT) |
commit | ed4a1c57034d53bf217d64a771208d372ad9e1a5 (patch) | |
tree | a5448732832ef3315f33fba2f4b75f79358e4664 /Modules/_weakref.c | |
parent | fd32fffa5ada8b8be8a65bd51b001d989f99a3d3 (diff) | |
download | cpython-ed4a1c57034d53bf217d64a771208d372ad9e1a5.zip cpython-ed4a1c57034d53bf217d64a771208d372ad9e1a5.tar.gz cpython-ed4a1c57034d53bf217d64a771208d372ad9e1a5.tar.bz2 |
Argument Clinic: rename "self" to "module" for module-level functions.
Diffstat (limited to 'Modules/_weakref.c')
-rw-r--r-- | Modules/_weakref.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/_weakref.c b/Modules/_weakref.c index 1e8debc..771639d 100644 --- a/Modules/_weakref.c +++ b/Modules/_weakref.c @@ -25,14 +25,14 @@ PyDoc_STRVAR(_weakref_getweakrefcount__doc__, {"getweakrefcount", (PyCFunction)_weakref_getweakrefcount, METH_O, _weakref_getweakrefcount__doc__}, static Py_ssize_t -_weakref_getweakrefcount_impl(PyObject *self, PyObject *object); +_weakref_getweakrefcount_impl(PyObject *module, PyObject *object); static PyObject * -_weakref_getweakrefcount(PyObject *self, PyObject *object) +_weakref_getweakrefcount(PyObject *module, PyObject *object) { PyObject *return_value = NULL; Py_ssize_t _return_value; - _return_value = _weakref_getweakrefcount_impl(self, object); + _return_value = _weakref_getweakrefcount_impl(module, object); if ((_return_value == -1) && PyErr_Occurred()) goto exit; return_value = PyLong_FromSsize_t(_return_value); @@ -42,8 +42,8 @@ exit: } static Py_ssize_t -_weakref_getweakrefcount_impl(PyObject *self, PyObject *object) -/*[clinic checksum: 0b7e7ddd87d483719ebac0fba364fff0ed0182d9]*/ +_weakref_getweakrefcount_impl(PyObject *module, PyObject *object) +/*[clinic checksum: 05cffbc3a4b193a0b7e645da81be281748704f69]*/ { PyWeakReference **list; |