36. Superseded Modules
**********************

The modules described in this chapter are deprecated and only kept for
backwards compatibility. They have been superseded by other modules.

* 36.1. "optparse" — Parser for command line options

  * 36.1.1. Background

    * 36.1.1.1. Terminology

    * 36.1.1.2. What are options for?

    * 36.1.1.3. What are positional arguments for?

  * 36.1.2. Tutorial

    * 36.1.2.1. Understanding option actions

    * 36.1.2.2. The store action

    * 36.1.2.3. Handling boolean (flag) options

    * 36.1.2.4. Other actions

    * 36.1.2.5. Default values

    * 36.1.2.6. Generating help

      * 36.1.2.6.1. Grouping Options

    * 36.1.2.7. Printing a version string

    * 36.1.2.8. How "optparse" handles errors

    * 36.1.2.9. Putting it all together

  * 36.1.3. Reference Guide

    * 36.1.3.1. Creating the parser

    * 36.1.3.2. Populating the parser

    * 36.1.3.3. Defining options

    * 36.1.3.4. Option attributes

    * 36.1.3.5. Standard option actions

    * 36.1.3.6. Standard option types

    * 36.1.3.7. Parsing arguments

    * 36.1.3.8. Querying and manipulating your option parser

    * 36.1.3.9. Conflicts between options

    * 36.1.3.10. Cleanup

    * 36.1.3.11. Other methods

  * 36.1.4. Option Callbacks

    * 36.1.4.1. Defining a callback option

    * 36.1.4.2. How callbacks are called

    * 36.1.4.3. Raising errors in a callback

    * 36.1.4.4. Callback example 1: trivial callback

    * 36.1.4.5. Callback example 2: check option order

    * 36.1.4.6. Callback example 3: check option order (generalized)

    * 36.1.4.7. Callback example 4: check arbitrary condition

    * 36.1.4.8. Callback example 5: fixed arguments

    * 36.1.4.9. Callback example 6: variable arguments

  * 36.1.5. Extending "optparse"

    * 36.1.5.1. Adding new types

    * 36.1.5.2. Adding new actions

* 36.2. "imp" — Access the *import* internals

  * 36.2.1. Examples
