[Python-checkins] r59697 - peps/trunk/pep-3119.txt
andrew.kuchling
python-checkins at python.org
Fri Jan 4 03:21:40 CET 2008
Author: andrew.kuchling
Date: Fri Jan 4 03:21:40 2008
New Revision: 59697
Modified:
peps/trunk/pep-3119.txt
Log:
Typo fix
Modified: peps/trunk/pep-3119.txt
==============================================================================
--- peps/trunk/pep-3119.txt (original)
+++ peps/trunk/pep-3119.txt Fri Jan 4 03:21:40 2008
@@ -242,7 +242,7 @@
The ``ABCMeta`` class overrides ``__instancecheck__`` and
``__subclasscheck__`` and defines a ``register`` method. The
-``register`` method takes one argument, which much be a class; after
+``register`` method takes one argument, which must be a class; after
the call ``B.register(C)``, the call ``issubclass(C, B)`` will return
True, by virtue of ``B.__subclasscheck__(C)`` returning True.
Also, ``isinstance(x, B)`` is equivalent to ``issubclass(x.__class__,
More information about the Python-checkins
mailing list