Add a reference to mod_python's use of multiple interpreters and fix two typos.

This commit is contained in:
Brett Cannon 2007-05-12 22:10:13 +00:00
parent 842b40e558
commit cef6e8f06a
1 changed files with 6 additions and 3 deletions

View File

@ -159,7 +159,7 @@ Transcendental. PEP 3141 originally proposed to patch float.__bases__
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 @@ relationships::
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 @@ partial ordering). But this cannot be the case: If both ``list`` and
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 @@ References
.. [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
=========