We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c3262 commit ca6c125Copy full SHA for ca6c125
Doc/library/collections.rst
@@ -514,7 +514,7 @@ or subtracting from an empty counter.
514
Rotate the deque *n* steps to the right. If *n* is negative, rotate
515
to the left.
516
517
- 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
518
to ``d.appendleft(d.pop())``, and rotating one step to the left is
519
equivalent to ``d.append(d.popleft())``.
520
0 commit comments