]> granicus.if.org Git - python/commitdiff
Fix typo -- missing "not" (GH-5532)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Sun, 4 Feb 2018 18:34:29 +0000 (10:34 -0800)
committerGitHub <noreply@github.com>
Sun, 4 Feb 2018 18:34:29 +0000 (10:34 -0800)
Doc/library/collections.rst

index a517a2eecfa9d177cb4f820ab68bd2a8352d479a..679931e089f215c867016a2431cb4948ec31e645 100644 (file)
@@ -316,7 +316,7 @@ counts, but the output will exclude results with counts of zero or less.
       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 to
+      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())``.