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

Raymond Hettinger webhook-mailer at python.org
Sun Feb 4 12:15:04 EST 2018


https://github.com/python/cpython/commit/ca6c125f10a39ef59d6949cc793a6eeb7d02d1f6
commit: ca6c125f10a39ef59d6949cc793a6eeb7d02d1f6
branch: master
author: Raymond Hettinger <rhettinger at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-02-04T09:15:01-08:00
summary:

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

files:
M Doc/library/collections.rst

diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 256bf02da47c..96475b9f490c 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -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())``.
 



More information about the Python-checkins mailing list