]> granicus.if.org Git - python/commitdiff
Fix typo -- missing "not" (GH-5528) (GH-5530)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 4 Feb 2018 18:10:17 +0000 (10:10 -0800)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Sun, 4 Feb 2018 18:10:17 +0000 (10:10 -0800)
Doc/library/collections.rst

index 256bf02da47c8bd748ae96579c93554b9aef6f96..96475b9f490cb21145bbc5183dda6c1e2cf26097 100644 (file)
@@ -514,7 +514,7 @@ or subtracting from an empty counter.
         Rotate the deque *n* steps to the right.  If *n* is negative, rotate
         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
         equivalent to ``d.append(d.popleft())``.