mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
fix versionadded
This commit is contained in:
parent
ea9f8db2a2
commit
d45bf58d77
1 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ For example::
|
|||
>>> c['sausage'] = 0 # counter entry with a zero count
|
||||
>>> del c['sausage'] # del actually removes the entry
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.1
|
||||
|
||||
|
||||
Counter objects support two methods beyond those available for all
|
||||
|
@ -821,7 +821,7 @@ the items are returned in the order their keys were first added.
|
|||
original insertion position is left unchanged. Deleting an entry and
|
||||
reinserting it will move it to the end.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.1
|
||||
|
||||
The :meth:`popitem` method for ordered dictionaries returns and removes the
|
||||
last added entry. The key/value pairs are returned in LIFO order.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue