[Python-checkins] r64308 - peps/trunk/pep-0372.txt
georg.brandl
python-checkins at python.org
Mon Jun 16 14:21:13 CEST 2008
Author: georg.brandl
Date: Mon Jun 16 14:21:12 2008
New Revision: 64308
Log:
Further fixes.
Modified:
peps/trunk/pep-0372.txt
Modified: peps/trunk/pep-0372.txt
==============================================================================
--- peps/trunk/pep-0372.txt (original)
+++ peps/trunk/pep-0372.txt Mon Jun 16 14:21:12 2008
@@ -50,7 +50,7 @@
cumbersome, or implement their own ordered dictionary. This affects
ElementTree, html5lib, Genshi and many more libraries.
-- There are many ordererd dict implementations in various libraries
+- There are many ordered dict implementations in various libraries
and applications, most of them subtly incompatible with each other.
Furthermore, subclassing dict is a non-trivial task and many
implementations don't override all the methods properly which can
@@ -98,8 +98,8 @@
keys is of course undefined again unless ``sort()`` is called.
All iteration methods as well as ``keys()``, ``values()`` and
-``items()`` return the values ordered by the the time the key-value
-pair was inserted:
+``items()`` return the values ordered by the time the key-value pair
+was inserted:
>>> d['spam'] = 'eggs'
>>> d.keys()
More information about the Python-checkins
mailing list