diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-02-04 17:15:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-04 17:15:01 (GMT) |
commit | ca6c125f10a39ef59d6949cc793a6eeb7d02d1f6 (patch) | |
tree | 08a85a9f30ee4496cf45c0109c8a00578dbf961b | |
parent | 95c3262762f7d0da97ad633f40bed7cd2df9814c (diff) | |
download | cpython-ca6c125f10a39ef59d6949cc793a6eeb7d02d1f6.zip cpython-ca6c125f10a39ef59d6949cc793a6eeb7d02d1f6.tar.gz cpython-ca6c125f10a39ef59d6949cc793a6eeb7d02d1f6.tar.bz2 |
Fix typo -- missing "not" (GH-5528)
-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 256bf02..96475b9 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())``. |