mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix typo -- missing "not" (GH-5528)
This commit is contained in:
parent
95c3262762
commit
ca6c125f10
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ or subtracting from an empty counter.
|
||||||
Rotate the deque *n* steps to the right. If *n* is negative, rotate
|
Rotate the deque *n* steps to the right. If *n* is negative, rotate
|
||||||
to the left.
|
to the left.
|
||||||
|
|
||||||
When the deque is empty, rotating one step to the right is equivalent
|
When the deque is not empty, rotating one step to the right is equivalent
|
||||||
to ``d.appendleft(d.pop())``, and rotating one step to the left is
|
to ``d.appendleft(d.pop())``, and rotating one step to the left is
|
||||||
equivalent to ``d.append(d.popleft())``.
|
equivalent to ``d.append(d.popleft())``.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue