diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-02-04 09:15:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-04 09:15:01 -0800 |
commit | ca6c125f10a39ef59d6949cc793a6eeb7d02d1f6 (patch) | |
tree | 08a85a9f30ee4496cf45c0109c8a00578dbf961b /Doc | |
parent | 95c3262762f7d0da97ad633f40bed7cd2df9814c (diff) | |
download | cpython-git-ca6c125f10a39ef59d6949cc793a6eeb7d02d1f6.tar.gz |
Fix typo -- missing "not" (GH-5528)
Diffstat (limited to 'Doc')
-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 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())``. |