[Python-checkins] r70104 - python/branches/py3k/Doc/library/collections.rst
benjamin.peterson
python-checkins at python.org
Mon Mar 2 22:44:55 CET 2009
Author: benjamin.peterson
Date: Mon Mar 2 22:44:54 2009
New Revision: 70104
Log:
fix versionadded
Modified:
python/branches/py3k/Doc/library/collections.rst
Modified: python/branches/py3k/Doc/library/collections.rst
==============================================================================
--- python/branches/py3k/Doc/library/collections.rst (original)
+++ python/branches/py3k/Doc/library/collections.rst Mon Mar 2 22:44:54 2009
@@ -184,7 +184,7 @@
>>> 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 @@
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.
More information about the Python-checkins
mailing list