changeset: 92893:5d87a6b38422 branch: 3.4 parent: 92891:58601c36a357 user: Victor Stinner date: Thu Oct 09 22:15:41 2014 +0200 files: Modules/_testcapimodule.c description: Issue #22588: Fix typo in _testcapi.test_incref_decref_API() diff -r 58601c36a357 -r 5d87a6b38422 Modules/_testcapimodule.c --- a/Modules/_testcapimodule.c Thu Oct 09 13:52:31 2014 +0200 +++ b/Modules/_testcapimodule.c Thu Oct 09 22:15:41 2014 +0200 @@ -2699,7 +2699,7 @@ 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;