diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-10-09 22:15:41 +0200 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-10-09 22:15:41 +0200 |
| commit | fc6a90a92e42717268b7e927c158ba341e579106 (patch) | |
| tree | ebc00f87f6ffdf4df561b8fef8be65ea3890a352 /Modules/_testcapimodule.c | |
| parent | 484df0075ab1082d154e934399c16ba3c80a6ccf (diff) | |
| download | cpython-git-fc6a90a92e42717268b7e927c158ba341e579106.tar.gz | |
Issue #22588: Fix typo in _testcapi.test_incref_decref_API()
Diffstat (limited to 'Modules/_testcapimodule.c')
| -rw-r--r-- | Modules/_testcapimodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 538322db56..6c17a4155e 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -2699,7 +2699,7 @@ static PyObject * test_incref_decref_API(PyObject *ob) { PyObject *obj = PyLong_FromLong(0); - Py_IncRef(ob); + Py_IncRef(obj); Py_DecRef(obj); Py_DecRef(obj); Py_RETURN_NONE; |
