summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/ceval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index e08e1c9..c920d30 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2076,8 +2076,8 @@ unpack_sequence(v, argcnt, sp)
"unpack sequence of wrong size");
/* fall through */
finally:
- for (; i > 0; i--)
- Py_DECREF(*sp++);
+ for (; i > 0; i--, sp++)
+ Py_DECREF(*sp);
return 0;
}