summaryrefslogtreecommitdiffstats
path: root/Doc/distutils
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-11-27 12:43:08 (GMT)
committerGeorg Brandl <georg@python.org>2007-11-27 12:43:08 (GMT)
commit2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd (patch)
treefa2e1af6bc316f3cc04abdebff56954c984c7b33 /Doc/distutils
parentff737954f3ee3005236133fc51b55a508b11aa06 (diff)
downloadcpython-2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd.zip
cpython-2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd.tar.gz
cpython-2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd.tar.bz2
Futher update docs after unbound method removal.
Diffstat (limited to 'Doc/distutils')
-rw-r--r--Doc/distutils/apiref.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
index 57e7ea8..6c2be3e 100644
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -1965,12 +1965,12 @@ Subclasses of :class:`Command` must define the following methods.
as the parent with sub-commands ``install_lib``, ``install_headers``, etc. The
parent of a family of commands defines *sub_commands* as a class attribute; it's
a list of 2-tuples ``(command_name, predicate)``, with *command_name* a string
-and *predicate* an unbound method, a string or None. *predicate* is a method of
+and *predicate* a function, a string or None. *predicate* is a method of
the parent command that determines whether the corresponding command is
applicable in the current situation. (Eg. we ``install_headers`` is only
applicable if we have any C header files to install.) If *predicate* is None,
that command is always applicable.
*sub_commands* is usually defined at the \*end\* of a class, because predicates
-can be unbound methods, so they must already have been defined. The canonical
-example is the :command:`install` command.
+can be methods of the class, so they must already have been defined. The
+canonical example is the :command:`install` command.