Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6ec04ffc
Commit
6ec04ffc
authored
Apr 01, 2007
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explicit class names.
parent
ae91afdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/dist/dist.tex
Doc/dist/dist.tex
+3
-3
No files found.
Doc/dist/dist.tex
View file @
6ec04ffc
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment