mirror of
https://github.com/python/cpython.git
synced 2025-11-19 18:47:27 +00:00
merge
This commit is contained in:
parent
94c3089818
commit
a63897164e
3 changed files with 16 additions and 18 deletions
|
|
@ -477,8 +477,8 @@ or subtracting from an empty counter.
|
|||
|
||||
Insert *x* into the deque at position *i*.
|
||||
|
||||
If the insertion causes a bounded deque to grow beyond *maxlen*, the
|
||||
rightmost element is then removed to restore the size limit.
|
||||
If the insertion would cause a bounded deque to grow beyond *maxlen*,
|
||||
an :exc:`IndexError` is raised.
|
||||
|
||||
.. versionadded:: 3.5
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue