From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 4 Feb 2018 18:10:17 +0000 (-0800) Subject: Fix typo -- missing "not" (GH-5528) (GH-5530) X-Git-Tag: v3.7.0b2~112 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c5e61bc9fe5d9a95ffcb591c9ac2aac6836002a;p=python Fix typo -- missing "not" (GH-5528) (GH-5530) --- 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())``.