diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-02 21:44:54 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-02 21:44:54 (GMT) |
commit | d45bf58d77b853e9b55ae385bd4e82a21e5bcc7a (patch) | |
tree | dffa3bdf99402adb198d090f73bc123fbb3f171e /Doc | |
parent | ea9f8db2a28b3a99e3007314795a0c27de1bd80f (diff) | |
download | cpython-d45bf58d77b853e9b55ae385bd4e82a21e5bcc7a.zip cpython-d45bf58d77b853e9b55ae385bd4e82a21e5bcc7a.tar.gz cpython-d45bf58d77b853e9b55ae385bd4e82a21e5bcc7a.tar.bz2 |
fix versionadded
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/collections.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index e4ad5f4..951e19c 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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. |