mirror of
https://github.com/python/cpython.git
synced 2025-12-05 09:03:50 +00:00
remove surplus and wrong Py_DECREF() introduced in 33891989c9cf
This commit is contained in:
parent
3205e74d88
commit
ec2309b03d
1 changed files with 0 additions and 1 deletions
|
|
@ -121,7 +121,6 @@ test_dict_inner(int count)
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
v = PyLong_FromLong(i);
|
v = PyLong_FromLong(i);
|
||||||
if (v == NULL) {
|
if (v == NULL) {
|
||||||
Py_DECREF(v);
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (PyDict_SetItem(dict, v, v) < 0) {
|
if (PyDict_SetItem(dict, v, v) < 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue