[Python-checkins] cpython (merge 3.4 -> default): Merge 3.4

victor.stinner python-checkins at python.org
Thu Oct 9 22:17:03 CEST 2014


https://hg.python.org/cpython/rev/54ef5af2e919
changeset:   92894:54ef5af2e919
parent:      92892:588657f910ac
parent:      92893:5d87a6b38422
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Oct 09 22:16:15 2014 +0200
summary:
  Merge 3.4

files:
  Modules/_testcapimodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -2715,7 +2715,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;

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list