diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-02-04 18:16:33 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-02-04 18:16:33 (GMT) |
commit | 231fa23f3fe83ca3738727d45009916926d31216 (patch) | |
tree | b05ae72ac975df430946255897fe876b7f9a8bb4 | |
parent | 3bd749b2122c17b835dc438cdaef63bfdfd61344 (diff) | |
download | cpython-231fa23f3fe83ca3738727d45009916926d31216.zip cpython-231fa23f3fe83ca3738727d45009916926d31216.tar.gz cpython-231fa23f3fe83ca3738727d45009916926d31216.tar.bz2 |
Fix typo -- missing "not" (GH-5528) (GH-5531)
-rw-r--r-- | Doc/library/collections.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 97f5135..82ba057 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())``. |