summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-10-09 20:16:15 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-10-09 20:16:15 (GMT)
commitaad627f2f94c426fab6d8341ffd60ca36cc005b7 (patch)
treee6cc8525683cf956555f14fa8e1148fc489a995c
parent67e2e6d600f243c748678c09f741b6f8938af452 (diff)
parentfc6a90a92e42717268b7e927c158ba341e579106 (diff)
downloadcpython-aad627f2f94c426fab6d8341ffd60ca36cc005b7.zip
cpython-aad627f2f94c426fab6d8341ffd60ca36cc005b7.tar.gz
cpython-aad627f2f94c426fab6d8341ffd60ca36cc005b7.tar.bz2
Merge 3.4
-rw-r--r--Modules/_testcapimodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index 643cbde..245d4f6 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -2715,7 +2715,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;