36. 被取代的模块
****************

本章中描述的模块均已弃用，仅保留用于向后兼容。 它们已经被其他模块所取
代。

* 36.1. "optparse" --- 解析器的命令行选项

  * 36.1.1. 背景

    * 36.1.1.1. 术语

    * 36.1.1.2. What are options for?

    * 36.1.1.3. 位置位置

  * 36.1.2. 教程

    * 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. 默认值

    * 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. 参考指南

    * 36.1.3.1. 创建解析器

    * 36.1.3.2. 填充解析器

    * 36.1.3.3. 定义选项

    * 36.1.3.4. Option attributes

    * 36.1.3.5. Standard option actions

    * 36.1.3.6. Standard option types

    * 36.1.3.7. 解析参数

    * 36.1.3.8. Querying and manipulating your option parser

    * 36.1.3.9. Conflicts between options

    * 36.1.3.10. 清理

    * 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. 例子
