Kaydet (Commit) 48397d6c authored tarafından Christian Heimes's avatar Christian Heimes

Use prefix decrement

üst f75dbef2
......@@ -208,10 +208,10 @@ static int numfree = 0;
void
PyDict_Fini(void)
{
PyListObject *op;
PyDictObject *op;
while (numfree) {
op = free_list[numfree--];
op = free_list[--numfree];
assert(PyDict_CheckExact(op));
PyObject_GC_Del(op);
}
......
......@@ -92,8 +92,7 @@ PyList_Fini(void)
PyListObject *op;
while (numfree) {
numfree--;
op = free_list[numfree];
op = free_list[--numfree];
assert(PyList_CheckExact(op));
PyObject_GC_Del(op);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment