Author: Antonio Cuni <[email protected]>
Branch: cpyext-nowrapper
Changeset: r92660:32f97b462003
Date: 2017-10-07 18:47 +0200
http://bitbucket.org/pypy/pypy/changeset/32f97b462003/
Log: forgot to save and commit this change
diff --git a/pypy/module/cpyext/dictobject.py b/pypy/module/cpyext/dictobject.py
--- a/pypy/module/cpyext/dictobject.py
+++ b/pypy/module/cpyext/dictobject.py
@@ -267,7 +267,7 @@
decref(py_dict.c__tmpkeys)
w_keys = space.call_method(space.w_dict, "keys", w_dict)
py_dict.c__tmpkeys = create_ref(space, w_keys)
- Py_IncRef(space, py_dict.c__tmpkeys)
+ incref(py_dict.c__tmpkeys)
else:
if not py_dict.c__tmpkeys:
# pos should have been 0, cannot fail so return 0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit