From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 4 Feb 2018 18:16:33 +0000 (-0800) Subject: Fix typo -- missing "not" (GH-5528) (GH-5531) X-Git-Tag: v3.6.5rc1~99 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=231fa23f3fe83ca3738727d45009916926d31216;p=thirdparty%2FPython%2Fcpython.git Fix typo -- missing "not" (GH-5528) (GH-5531) --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 97f513533ed8..82ba05737413 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())``.