]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Explicit class names.
authorGeorg Brandl <georg@python.org>
Sun, 1 Apr 2007 22:40:12 +0000 (22:40 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 1 Apr 2007 22:40:12 +0000 (22:40 +0000)
Doc/dist/dist.tex

index 00af64a5da7bbf773e20b8e5b61a57e43d1130b9..928b64240572e8263ebcd96ddd1a972822469f81 100644 (file)
@@ -3733,7 +3733,7 @@ implementing the class \class{peel_banana}, a subclass of
 
 Subclasses of \class{Command} must define the following methods.
 
-\begin{methoddesc}{initialize_options()}
+\begin{methoddesc}[Command]{initialize_options()}
 Set default values for all the options that this command
 supports.  Note that these defaults may be overridden by other
 commands, by the setup script, by config files, or by the
@@ -3742,7 +3742,7 @@ between options; generally, \method{initialize_options()} implementations
 are just a bunch of \samp{self.foo = None} assignments.
 \end{methoddesc}
 
-\begin{methoddesc}{finalize_options}{}
+\begin{methoddesc}[Command]{finalize_options}{}
 Set final values for all the options that this command supports.
 This is always called as late as possible, ie.  after any option
 assignments from the command-line or from other commands have been
@@ -3751,7 +3751,7 @@ done.  Thus, this is the place to to code option dependencies: if
 \var{bar} as long as \var{foo} still has the same value it was assigned in
 \method{initialize_options()}.
 \end{methoddesc}
-\begin{methoddesc}{run}{}
+\begin{methoddesc}[Command]{run}{}
 A command's raison d'etre: carry out the action it exists to
 perform, controlled by the options initialized in
 \method{initialize_options()}, customized by other commands, the setup