1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
"http://www.w3.org/TR/html40/loose.dtd">
7
<title>Class: ArgOneParam</title>
10
<body bgcolor="#ffffff">
12
<p><i><a href="../../index.html">Table of Contents</a></i></p>
14
<table border="0" cellpadding="5" cellspacing="0" width="100%">
20
bgcolor="#88bbee"><font color="#000000">Class: ArgOneParam</font>
24
align="right"><font color="#000000">Gnuplot/termdefs.py</font>
30
<h3>Arg abstract base class specialized for exactly one parameter.</h3>
33
<dt> <code>argname</code></dt>
34
<dd>The name of the keyword argument used to pass
35
this argument to Python.</dd>
36
<dt> <code>default</code></dt>
37
<dd>The default value of the argument, used if no
38
keyword parameter is found. If this is None, then no
39
default is assumed.</dd>
41
<table border="0" cellpadding="5" cellspacing="0" width="100%">
50
<font color="#000000">
51
<a name="Base Classes">Base Classes</a>
59
<font color="#000000"> </font>
65
<a href="Arg.html">Arg</a><br>
69
<table border="0" cellpadding="5" cellspacing="0" width="100%">
78
<font color="#000000">
79
<a name="Methods">Methods</a>
87
<font color="#000000"> </font>
93
<a href="#__init__">__init__</a><br>
94
<a href="#get_option">get_option</a><br>
104
<font color="#000000">
105
<a name="__init__"></a>
108
<th bgcolor="#99ccff"
113
<font color="#000000">__init__ </font>
118
<font color="#000088"><pre>
129
<th bgcolor="#99ccff"
135
<font color="#000000">
136
<a name="get_option"></a>
139
<th bgcolor="#99ccff"
144
<font color="#000000">get_option </font>
149
<font color="#000088"><pre>
150
get_option ( self, keyw )
154
<h3>Get the keyword argument corresponding to this Arg.</h3>
155
<p> Look in keyw for the keyword argument needed by this Arg. If
156
it is found, delete it from keyw and return it. If it is not
157
found, return self.default.</p>
168
<p><i><a href="../../index.html">Table of Contents</a></i></p>
170
<font size="-2"><i>This document was automatically generated
171
on Sun Oct 19 17:10:22 2003 by
172
<a href="http://happydoc.sourceforge.net">HappyDoc</a> version
b'\\ No newline at end of file'