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

index 97f513533ed8ff0c709d97732aa0d196c7754a57..82ba0573741390ee08fdeba8d5ad13d69b6246ee 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())``.