[Python-checkins] r64410 - peps/trunk/pep-0372.txt

georg.brandl python-checkins at python.org
Thu Jun 19 22:51:39 CEST 2008


Author: georg.brandl
Date: Thu Jun 19 22:51:39 2008
New Revision: 64410

Log:
Rewrap to 70 chars per line.


Modified:
   peps/trunk/pep-0372.txt

Modified: peps/trunk/pep-0372.txt
==============================================================================
--- peps/trunk/pep-0372.txt	(original)
+++ peps/trunk/pep-0372.txt	Thu Jun 19 22:51:39 2008
@@ -155,18 +155,20 @@
 ================
 
 The Python 3 version of the ``odict`` returns dictionary views rather
-than lists for ``odict.keys()``, ``odict.values()`` and ``odict.items()``.
-The keys-view is equivalent to a regular key view but supports the following
-extra or changed operations:
+than lists for ``odict.keys()``, ``odict.values()`` and
+``odict.items()``.  The keys view is equivalent to a regular keys view
+but supports the following extra or changed operations:
 
 ``odict_keys.__getitem__(index)``
 
-    Returns the key for an index.  This is equivalent to ``odict.byindex(index)``.
+    Returns the key for an index.  This is equivalent to
+    ``odict.byindex(index)``.
 
 ``odict_keys.index(key)``
 
-    Returns the index for a key.  This exists for compatibility with the
-    `Sequence` abstract base class and is equivalent to ``odict.index(key)``.
+    Returns the index for a key.  This exists for compatibility with
+    the ``Sequence`` abstract base class and is equivalent to
+    ``odict.index(key)``.
 
 ``odict_keys.__iter__()``
 
@@ -176,10 +178,12 @@
 
     Has the same semantics as ``odict.__reversed__()``.
 
-``odict_keys.__cmp__()`` / ``odict_keys.__eq__()`` / ``odict_keys.__ne__()``
+``odict_keys.__cmp__()`` / ``odict_keys.__eq__()`` /
+``odict_keys.__ne__()``
 
-    Same semantics as the equivalent ``odict`` operation.  Eg: when compared
-    to another odict keys-view the ordering is taken into account.    
+    Same semantics as the equivalent ``odict`` operation.  E.g.: when
+    compared to another odict keys view the ordering is taken into
+    account.
 
 
 Questions and Answers


More information about the Python-checkins mailing list