[Python-checkins] cpython (3.3): remove surplus and wrong Py_DECREF() introduced in 33891989c9cf
christian.heimes
python-checkins at python.org
Fri Jul 26 15:26:36 CEST 2013
http://hg.python.org/cpython/rev/e6e9e237cc6b
changeset: 84836:e6e9e237cc6b
branch: 3.3
parent: 84834:708811f8470f
user: Christian Heimes <christian at cheimes.de>
date: Fri Jul 26 15:26:18 2013 +0200
summary:
remove surplus and wrong Py_DECREF() introduced in 33891989c9cf
files:
Modules/_testcapimodule.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -121,7 +121,6 @@
for (i = 0; i < count; i++) {
v = PyLong_FromLong(i);
if (v == NULL) {
- Py_DECREF(v);
return -1;
}
if (PyDict_SetItem(dict, v, v) < 0) {
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list