From: Raymond Hettinger Date: Sun, 4 Feb 2018 18:34:29 +0000 (-0800) Subject: Fix typo -- missing "not" (GH-5532) X-Git-Tag: v2.7.15rc1~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a4e2ea112822c9ce10481984d291e00d8a920d7;p=python Fix typo -- missing "not" (GH-5532) --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index a517a2eecf..679931e089 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())``.