mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
merge
This commit is contained in:
commit
e92951f8da
1 changed files with 3 additions and 1 deletions
|
|
@ -788,7 +788,9 @@ deque_item(dequeobject *deque, Py_ssize_t i)
|
|||
while (n--)
|
||||
b = b->rightlink;
|
||||
} else {
|
||||
n = (deque->leftindex + Py_SIZE(deque) - 1) / BLOCKLEN - n;
|
||||
n = (Py_ssize_t)(
|
||||
((unsigned)(deque->leftindex + Py_SIZE(deque) - 1))
|
||||
/ BLOCKLEN - n);
|
||||
b = deque->rightblock;
|
||||
while (n--)
|
||||
b = b->leftlink;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue