]> granicus.if.org Git - python/commitdiff
Fix typo -- missing "not" (GH-5528)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Sun, 4 Feb 2018 17:15:01 +0000 (09:15 -0800)
committerGitHub <noreply@github.com>
Sun, 4 Feb 2018 17:15:01 +0000 (09:15 -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())``.