[Python-checkins] r58146 - peps/trunk/pep-0352.txt peps/trunk/pep-3100.txt peps/trunk/pep-3119.txt
andrew.kuchling
python-checkins at python.org
Fri Sep 14 00:49:15 CEST 2007
Author: andrew.kuchling
Date: Fri Sep 14 00:49:14 2007
New Revision: 58146
Modified:
peps/trunk/pep-0352.txt
peps/trunk/pep-3100.txt
peps/trunk/pep-3119.txt
Log:
Typo fixes
Modified: peps/trunk/pep-0352.txt
==============================================================================
--- peps/trunk/pep-0352.txt (original)
+++ peps/trunk/pep-0352.txt Fri Sep 14 00:49:14 2007
@@ -276,7 +276,7 @@
[#pycon2007-sprint-email]_, it was discovered that the transition was
very painful, especially for C extension modules. It was decided that
it would be better to deprecate the ``message`` attribute in
-Python 2.6 (and remove in Python 2.7 and Python 3.0) and consider a
+Python 2.6 (and remove it in Python 2.7 and Python 3.0) and consider a
more long-term transition strategy in Python 3.0 to remove
multiple-argument support in BaseException in preference of accepting
only a single argument. Thus the introduction of ``message`` and the
Modified: peps/trunk/pep-3100.txt
==============================================================================
--- peps/trunk/pep-3100.txt (original)
+++ peps/trunk/pep-3100.txt Fri Sep 14 00:49:14 2007
@@ -190,7 +190,7 @@
* ``intern()``: put in ``sys`` [2]_, [22]_ [done]
* ``reduce()``: write a loop instead [2]_, [9]_ [done]
* ``xrange()``: use ``range()`` instead [1]_ [See range() above] [done]
-* ``StandardError``: this is a relic from the original exception hierachy;
+* ``StandardError``: this is a relic from the original exception hierarchy;
subclass ``Exception`` instead. [done]
Modified: peps/trunk/pep-3119.txt
==============================================================================
--- peps/trunk/pep-3119.txt (original)
+++ peps/trunk/pep-3119.txt Fri Sep 14 00:49:14 2007
@@ -162,7 +162,7 @@
mod_python [16]_).
Another example would be someone who wants to define a generic
-function (PEP 3124) for any sequences that has an ``append()`` method.
+function (PEP 3124) for any sequence that has an ``append()`` method.
The ``Sequence`` ABC (see below) doesn't promise the ``append()``
method, while ``MutableSequence`` requires not only ``append()`` but
also various other mutating methods.
@@ -512,7 +512,7 @@
return hasattr(C, "__bases__") and hasattr(C, "__len__")
This has the advantage of not requiring explicit registration.
-However, the semantics hard to get exactly right given the confusing
+However, the semantics are hard to get exactly right given the confusing
semantics of instance attributes vs. class attributes, and that a
class is an instance of its metaclass; the check for ``__bases__`` is
only an approximation of the desired semantics. **Strawman:** Let's
More information about the Python-checkins
mailing list