[Python-checkins] r55309 - peps/trunk/pep-3119.txt

david.goodger python-checkins at python.org
Mon May 14 16:09:18 CEST 2007


Author: david.goodger
Date: Mon May 14 16:09:14 2007
New Revision: 55309
Modified:
 peps/trunk/pep-3119.txt
Log:
fixed definition list markup (removed blank lines); removed whitespace
Modified: peps/trunk/pep-3119.txt
==============================================================================
--- peps/trunk/pep-3119.txt	(original)
+++ peps/trunk/pep-3119.txt	Mon May 14 16:09:14 2007
@@ -414,7 +414,7 @@
 
 These abstract classes represent single methods like ``__iter__`` or
 ``__len__``.
- 
+
 ``Hashable``
 The base class for classes defining ``__hash__``. The
 ``__hash__`` method should return an integer. The abstract
@@ -509,7 +509,6 @@
 type ``frozenset`` derives from ``Set`` and ``Hashable``.
 
 ``Set``
-
 This is a sized, iterable container, i.e., a subclass of
 ``Sized``, ``Iterable`` and ``Container``. Not every subclass of
 those three classes is a set though! Sets have the additional
@@ -557,7 +556,6 @@
 aliases for ``__le__`` and ``__ge__``.
 
 ``MutableSet``
-
 This is a subclass of ``Set`` implementing additional operations
 to add and remove elements. The supported methods have the
 semantics known from the ``set`` type in Python 2 (except for
@@ -614,7 +612,6 @@
 The built-in type ``dict`` derives from ``MutableMapping``.
 
 ``Mapping``
-
 A subclass of ``Container``, ``Iterable`` and ``Sized``. The keys
 of a mapping naturally form a set. The (key, value) pairs (which
 must be tuples) are also referred to as items. The items also
@@ -688,7 +685,6 @@
 from ``Sequence`` and ``Hashable``.
 
 ``Sequence``
-
 A subclass of ``Iterable``, ``Sized``, ``Container``. It
 defines a new abstract method ``__getitem__`` that has a somewhat
 complicated signature: when called with an integer, it returns an
@@ -705,7 +701,6 @@
 ``index``, ``count``, ``__add__``, ``__mul__``.
 
 ``MutableSequence``
-
 A subclass of ``Sequence`` adding some standard mutating methods.
 Abstract mutating methods: ``__setitem__`` (for integer indices as
 well as slices), ``__delitem__`` (ditto), ``insert``, ``append``,


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /