Kaydet (Commit) 3a754038 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Deque uses "len" instead of varhead in Py2.7

üst fedcf947
......@@ -651,7 +651,7 @@ deque_clear(dequeobject *deque)
Py_ssize_t n;
PyObject *item;
if (Py_SIZE(deque) == 0)
if (deque->len == 0)
return;
/* During the process of clearing a deque, decrefs can cause the
......
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