~dkuhlman/python-training-materials/Materials

« back to all changes in this revision

Viewing changes to python-3.5.2-docs-html/library/superseded.html

  • Committer: Dave Kuhlman
  • Date: 2017-04-15 16:24:56 UTC
  • Revision ID: dkuhlman@davekuhlman.org-20170415162456-iav9vozzg4iwqwv3
Updated docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
3
 
 
4
 
 
5
<html xmlns="http://www.w3.org/1999/xhtml">
 
6
  <head>
 
7
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
8
    
 
9
    <title>36. Superseded Modules &mdash; Python 3.5.2 documentation</title>
 
10
    
 
11
    <link rel="stylesheet" href="../_static/pydoctheme.css" type="text/css" />
 
12
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
 
13
    
 
14
    <script type="text/javascript">
 
15
      var DOCUMENTATION_OPTIONS = {
 
16
        URL_ROOT:    '../',
 
17
        VERSION:     '3.5.2',
 
18
        COLLAPSE_INDEX: false,
 
19
        FILE_SUFFIX: '.html',
 
20
        HAS_SOURCE:  true
 
21
      };
 
22
    </script>
 
23
    <script type="text/javascript" src="../_static/jquery.js"></script>
 
24
    <script type="text/javascript" src="../_static/underscore.js"></script>
 
25
    <script type="text/javascript" src="../_static/doctools.js"></script>
 
26
    <script type="text/javascript" src="../_static/sidebar.js"></script>
 
27
    <link rel="search" type="application/opensearchdescription+xml"
 
28
          title="Search within Python 3.5.2 documentation"
 
29
          href="../_static/opensearch.xml"/>
 
30
    <link rel="author" title="About these documents" href="../about.html" />
 
31
    <link rel="copyright" title="Copyright" href="../copyright.html" />
 
32
    <link rel="top" title="Python 3.5.2 documentation" href="../contents.html" />
 
33
    <link rel="up" title="The Python Standard Library" href="index.html" />
 
34
    <link rel="next" title="36.1. optparse — Parser for command line options" href="optparse.html" />
 
35
    <link rel="prev" title="35.13. syslog — Unix syslog library routines" href="syslog.html" />
 
36
    <link rel="shortcut icon" type="image/png" href="../_static/py.png" />
 
37
    
 
38
    <script type="text/javascript" src="../_static/copybutton.js"></script>
 
39
    <script type="text/javascript" src="../_static/version_switch.js"></script>
 
40
    
 
41
    
 
42
 
 
43
 
 
44
  </head>
 
45
  <body role="document">  
 
46
    <div class="related" role="navigation" aria-label="related navigation">
 
47
      <h3>Navigation</h3>
 
48
      <ul>
 
49
        <li class="right" style="margin-right: 10px">
 
50
          <a href="../genindex.html" title="General Index"
 
51
             accesskey="I">index</a></li>
 
52
        <li class="right" >
 
53
          <a href="../py-modindex.html" title="Python Module Index"
 
54
             >modules</a> |</li>
 
55
        <li class="right" >
 
56
          <a href="optparse.html" title="36.1. optparse — Parser for command line options"
 
57
             accesskey="N">next</a> |</li>
 
58
        <li class="right" >
 
59
          <a href="syslog.html" title="35.13. syslog — Unix syslog library routines"
 
60
             accesskey="P">previous</a> |</li>
 
61
        <li><img src="../_static/py.png" alt=""
 
62
                 style="vertical-align: middle; margin-top: -1px"/></li>
 
63
        <li><a href="https://www.python.org/">Python</a> &raquo;</li>
 
64
        <li>
 
65
          <span class="version_switcher_placeholder">3.5.2</span>
 
66
          <a href="../index.html">Documentation </a> &raquo;
 
67
        </li>
 
68
 
 
69
          <li class="nav-item nav-item-1"><a href="index.html" accesskey="U">The Python Standard Library</a> &raquo;</li>
 
70
    <li class="right">
 
71
        
 
72
 
 
73
    <div class="inline-search" style="display: none" role="search">
 
74
        <form class="inline-search" action="../search.html" method="get">
 
75
          <input placeholder="Quick search" type="text" name="q" />
 
76
          <input type="submit" value="Go" />
 
77
          <input type="hidden" name="check_keywords" value="yes" />
 
78
          <input type="hidden" name="area" value="default" />
 
79
        </form>
 
80
    </div>
 
81
    <script type="text/javascript">$('.inline-search').show(0);</script>
 
82
         |
 
83
    </li>
 
84
 
 
85
      </ul>
 
86
    </div>    
 
87
 
 
88
    <div class="document">
 
89
      <div class="documentwrapper">
 
90
        <div class="bodywrapper">
 
91
          <div class="body" role="main">
 
92
            
 
93
  <div class="section" id="superseded-modules">
 
94
<span id="superseded"></span><h1>36. Superseded Modules<a class="headerlink" href="#superseded-modules" title="Permalink to this headline">¶</a></h1>
 
95
<p>The modules described in this chapter are deprecated and only kept for
 
96
backwards compatibility. They have been superseded by other modules.</p>
 
97
<div class="toctree-wrapper compound">
 
98
<ul>
 
99
<li class="toctree-l1"><a class="reference internal" href="optparse.html">36.1. <code class="docutils literal"><span class="pre">optparse</span></code> &#8212; Parser for command line options</a><ul>
 
100
<li class="toctree-l2"><a class="reference internal" href="optparse.html#background">36.1.1. Background</a><ul>
 
101
<li class="toctree-l3"><a class="reference internal" href="optparse.html#terminology">36.1.1.1. Terminology</a></li>
 
102
<li class="toctree-l3"><a class="reference internal" href="optparse.html#what-are-options-for">36.1.1.2. What are options for?</a></li>
 
103
<li class="toctree-l3"><a class="reference internal" href="optparse.html#what-are-positional-arguments-for">36.1.1.3. What are positional arguments for?</a></li>
 
104
</ul>
 
105
</li>
 
106
<li class="toctree-l2"><a class="reference internal" href="optparse.html#tutorial">36.1.2. Tutorial</a><ul>
 
107
<li class="toctree-l3"><a class="reference internal" href="optparse.html#understanding-option-actions">36.1.2.1. Understanding option actions</a></li>
 
108
<li class="toctree-l3"><a class="reference internal" href="optparse.html#the-store-action">36.1.2.2. The store action</a></li>
 
109
<li class="toctree-l3"><a class="reference internal" href="optparse.html#handling-boolean-flag-options">36.1.2.3. Handling boolean (flag) options</a></li>
 
110
<li class="toctree-l3"><a class="reference internal" href="optparse.html#other-actions">36.1.2.4. Other actions</a></li>
 
111
<li class="toctree-l3"><a class="reference internal" href="optparse.html#default-values">36.1.2.5. Default values</a></li>
 
112
<li class="toctree-l3"><a class="reference internal" href="optparse.html#generating-help">36.1.2.6. Generating help</a><ul>
 
113
<li class="toctree-l4"><a class="reference internal" href="optparse.html#grouping-options">36.1.2.6.1. Grouping Options</a></li>
 
114
</ul>
 
115
</li>
 
116
<li class="toctree-l3"><a class="reference internal" href="optparse.html#printing-a-version-string">36.1.2.7. Printing a version string</a></li>
 
117
<li class="toctree-l3"><a class="reference internal" href="optparse.html#how-optparse-handles-errors">36.1.2.8. How <code class="docutils literal"><span class="pre">optparse</span></code> handles errors</a></li>
 
118
<li class="toctree-l3"><a class="reference internal" href="optparse.html#putting-it-all-together">36.1.2.9. Putting it all together</a></li>
 
119
</ul>
 
120
</li>
 
121
<li class="toctree-l2"><a class="reference internal" href="optparse.html#reference-guide">36.1.3. Reference Guide</a><ul>
 
122
<li class="toctree-l3"><a class="reference internal" href="optparse.html#creating-the-parser">36.1.3.1. Creating the parser</a></li>
 
123
<li class="toctree-l3"><a class="reference internal" href="optparse.html#populating-the-parser">36.1.3.2. Populating the parser</a></li>
 
124
<li class="toctree-l3"><a class="reference internal" href="optparse.html#defining-options">36.1.3.3. Defining options</a></li>
 
125
<li class="toctree-l3"><a class="reference internal" href="optparse.html#option-attributes">36.1.3.4. Option attributes</a></li>
 
126
<li class="toctree-l3"><a class="reference internal" href="optparse.html#standard-option-actions">36.1.3.5. Standard option actions</a></li>
 
127
<li class="toctree-l3"><a class="reference internal" href="optparse.html#standard-option-types">36.1.3.6. Standard option types</a></li>
 
128
<li class="toctree-l3"><a class="reference internal" href="optparse.html#parsing-arguments">36.1.3.7. Parsing arguments</a></li>
 
129
<li class="toctree-l3"><a class="reference internal" href="optparse.html#querying-and-manipulating-your-option-parser">36.1.3.8. Querying and manipulating your option parser</a></li>
 
130
<li class="toctree-l3"><a class="reference internal" href="optparse.html#conflicts-between-options">36.1.3.9. Conflicts between options</a></li>
 
131
<li class="toctree-l3"><a class="reference internal" href="optparse.html#cleanup">36.1.3.10. Cleanup</a></li>
 
132
<li class="toctree-l3"><a class="reference internal" href="optparse.html#other-methods">36.1.3.11. Other methods</a></li>
 
133
</ul>
 
134
</li>
 
135
<li class="toctree-l2"><a class="reference internal" href="optparse.html#option-callbacks">36.1.4. Option Callbacks</a><ul>
 
136
<li class="toctree-l3"><a class="reference internal" href="optparse.html#defining-a-callback-option">36.1.4.1. Defining a callback option</a></li>
 
137
<li class="toctree-l3"><a class="reference internal" href="optparse.html#how-callbacks-are-called">36.1.4.2. How callbacks are called</a></li>
 
138
<li class="toctree-l3"><a class="reference internal" href="optparse.html#raising-errors-in-a-callback">36.1.4.3. Raising errors in a callback</a></li>
 
139
<li class="toctree-l3"><a class="reference internal" href="optparse.html#callback-example-1-trivial-callback">36.1.4.4. Callback example 1: trivial callback</a></li>
 
140
<li class="toctree-l3"><a class="reference internal" href="optparse.html#callback-example-2-check-option-order">36.1.4.5. Callback example 2: check option order</a></li>
 
141
<li class="toctree-l3"><a class="reference internal" href="optparse.html#callback-example-3-check-option-order-generalized">36.1.4.6. Callback example 3: check option order (generalized)</a></li>
 
142
<li class="toctree-l3"><a class="reference internal" href="optparse.html#callback-example-4-check-arbitrary-condition">36.1.4.7. Callback example 4: check arbitrary condition</a></li>
 
143
<li class="toctree-l3"><a class="reference internal" href="optparse.html#callback-example-5-fixed-arguments">36.1.4.8. Callback example 5: fixed arguments</a></li>
 
144
<li class="toctree-l3"><a class="reference internal" href="optparse.html#callback-example-6-variable-arguments">36.1.4.9. Callback example 6: variable arguments</a></li>
 
145
</ul>
 
146
</li>
 
147
<li class="toctree-l2"><a class="reference internal" href="optparse.html#extending-optparse">36.1.5. Extending <code class="docutils literal"><span class="pre">optparse</span></code></a><ul>
 
148
<li class="toctree-l3"><a class="reference internal" href="optparse.html#adding-new-types">36.1.5.1. Adding new types</a></li>
 
149
<li class="toctree-l3"><a class="reference internal" href="optparse.html#adding-new-actions">36.1.5.2. Adding new actions</a></li>
 
150
</ul>
 
151
</li>
 
152
</ul>
 
153
</li>
 
154
<li class="toctree-l1"><a class="reference internal" href="imp.html">36.2. <code class="docutils literal"><span class="pre">imp</span></code> &#8212; Access the <code class="docutils literal"><span class="pre">import</span></code> internals</a><ul>
 
155
<li class="toctree-l2"><a class="reference internal" href="imp.html#examples">36.2.1. Examples</a></li>
 
156
</ul>
 
157
</li>
 
158
</ul>
 
159
</div>
 
160
</div>
 
161
 
 
162
 
 
163
          </div>
 
164
        </div>
 
165
      </div>
 
166
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
 
167
        <div class="sphinxsidebarwrapper">
 
168
  <h4>Previous topic</h4>
 
169
  <p class="topless"><a href="syslog.html"
 
170
                        title="previous chapter">35.13. <code class="docutils literal"><span class="pre">syslog</span></code> &#8212; Unix syslog library routines</a></p>
 
171
  <h4>Next topic</h4>
 
172
  <p class="topless"><a href="optparse.html"
 
173
                        title="next chapter">36.1. <code class="docutils literal"><span class="pre">optparse</span></code> &#8212; Parser for command line options</a></p>
 
174
  <div role="note" aria-label="source link">
 
175
    <h3>This Page</h3>
 
176
    <ul class="this-page-menu">
 
177
      <li><a href="../bugs.html">Report a Bug</a></li>
 
178
      <li><a href="../_sources/library/superseded.txt"
 
179
            rel="nofollow">Show Source</a></li>
 
180
    </ul>
 
181
  </div>
 
182
        </div>
 
183
      </div>
 
184
      <div class="clearer"></div>
 
185
    </div>  
 
186
    <div class="related" role="navigation" aria-label="related navigation">
 
187
      <h3>Navigation</h3>
 
188
      <ul>
 
189
        <li class="right" style="margin-right: 10px">
 
190
          <a href="../genindex.html" title="General Index"
 
191
             >index</a></li>
 
192
        <li class="right" >
 
193
          <a href="../py-modindex.html" title="Python Module Index"
 
194
             >modules</a> |</li>
 
195
        <li class="right" >
 
196
          <a href="optparse.html" title="36.1. optparse — Parser for command line options"
 
197
             >next</a> |</li>
 
198
        <li class="right" >
 
199
          <a href="syslog.html" title="35.13. syslog — Unix syslog library routines"
 
200
             >previous</a> |</li>
 
201
        <li><img src="../_static/py.png" alt=""
 
202
                 style="vertical-align: middle; margin-top: -1px"/></li>
 
203
        <li><a href="https://www.python.org/">Python</a> &raquo;</li>
 
204
        <li>
 
205
          <span class="version_switcher_placeholder">3.5.2</span>
 
206
          <a href="../index.html">Documentation </a> &raquo;
 
207
        </li>
 
208
 
 
209
          <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &raquo;</li>
 
210
    <li class="right">
 
211
        
 
212
 
 
213
    <div class="inline-search" style="display: none" role="search">
 
214
        <form class="inline-search" action="../search.html" method="get">
 
215
          <input placeholder="Quick search" type="text" name="q" />
 
216
          <input type="submit" value="Go" />
 
217
          <input type="hidden" name="check_keywords" value="yes" />
 
218
          <input type="hidden" name="area" value="default" />
 
219
        </form>
 
220
    </div>
 
221
    <script type="text/javascript">$('.inline-search').show(0);</script>
 
222
         |
 
223
    </li>
 
224
 
 
225
      </ul>
 
226
    </div>  
 
227
    <div class="footer">
 
228
    &copy; <a href="../copyright.html">Copyright</a> 2001-2016, Python Software Foundation.
 
229
    <br />
 
230
    The Python Software Foundation is a non-profit corporation.
 
231
    <a href="https://www.python.org/psf/donations/">Please donate.</a>
 
232
    <br />
 
233
    Last updated on Oct 19, 2016.
 
234
    <a href="../bugs.html">Found a bug</a>?
 
235
    <br />
 
236
    Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.3.3.
 
237
    </div>
 
238
 
 
239
  </body>
 
240
</html>
 
 
b'\\ No newline at end of file'