[Python-checkins] r55289 - peps/trunk/pep-3119.txt
brett.cannon
python-checkins at python.org
Sun May 13 00:10:19 CEST 2007
Author: brett.cannon
Date: Sun May 13 00:10:13 2007
New Revision: 55289
Modified:
peps/trunk/pep-3119.txt
Log:
Add a reference to mod_python's use of multiple interpreters and fix two typos.
Modified: peps/trunk/pep-3119.txt
==============================================================================
--- peps/trunk/pep-3119.txt (original)
+++ peps/trunk/pep-3119.txt Sun May 13 00:10:13 2007
@@ -159,7 +159,7 @@
for that purpose, but there are some good reasons to keep the built-in
types immutable (for one, they are shared between all Python
interpreters running in the same address space, as is used by
-mod_python).
+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.
@@ -310,7 +310,7 @@
The ``abc`` module also defines a new decorator, ``@abstractmethod``,
to be used to declare abstract methods. A class containing at least
one method declared with this decorator that hasn't been overridden
-yet cannot be instantiated. Such a methods may be called from the
+yet cannot be instantiated. Such methods may be called from the
overriding method in the subclass (using ``super`` or direct
invocation). For example::
@@ -406,7 +406,7 @@
fact (in Python 3000!) such "mixed-mode comparisons" operations are
explicitly forbidden and raise ``TypeError``. See PEP 3100 and [14]_
for more information. (This is a special case of a more general issue
-with operations that take another argument of the same type:
+with operations that take another argument of the same type).
One Trick Ponies
@@ -863,6 +863,9 @@
.. [15] Function ``frozenset_hash()`` in Object/setobject.c
(http://svn.python.org/view/python/trunk/Objects/setobject.c)
+.. [16] Multiple interpreters in mod_python
+ (http://www.modpython.org/live/current/doc-html/pyapi-interps.html)
+
Copyright
=========
More information about the Python-checkins
mailing list