[Python-checkins] Fix typo -- missing "not" (GH-5532)

Raymond Hettinger webhook-mailer at python.org
Sun Feb 4 13:34:32 EST 2018


https://github.com/python/cpython/commit/2a4e2ea112822c9ce10481984d291e00d8a920d7
commit: 2a4e2ea112822c9ce10481984d291e00d8a920d7
branch: 2.7
author: Raymond Hettinger <rhettinger at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-02-04T10:34:29-08:00
summary:

Fix typo -- missing "not" (GH-5532)

files:
M Doc/library/collections.rst

diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index a517a2eecfa9..679931e089f2 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -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())``.
 



More information about the Python-checkins mailing list