From: Raymond Hettinger Date: Sun, 4 Feb 2018 17:15:01 +0000 (-0800) Subject: Fix typo -- missing "not" (GH-5528) X-Git-Tag: v3.8.0a1~2268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca6c125f10a39ef59d6949cc793a6eeb7d02d1f6;p=python Fix typo -- missing "not" (GH-5528) --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 256bf02da4..96475b9f49 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())``.