“Python/docs/3.9/library/superseded”的版本间差异

来自菜鸟教程
Python/docs/3.9/library/superseded
跳转至:导航、​搜索
(autoload)
 
(Page commit)
 
第1行: 第1行:
 +
{{DISPLAYTITLE:被取代的模块 — Python 文档}}
 
<div id="superseded-modules" class="section">
 
<div id="superseded-modules" class="section">
  
 
<span id="superseded"></span>
 
<span id="superseded"></span>
= Superseded Modules =
+
= 被取代的模块 =
  
The modules described in this chapter are deprecated and only kept for
+
本章中描述的模块已弃用,仅保留用于向后兼容。 它们已被其他模块取代。
backwards compatibility. They have been superseded by other modules.
 
  
 
<div class="toctree-wrapper compound">
 
<div class="toctree-wrapper compound">
  
* [[../optparse|<code>optparse</code> --- Parser for command line options]]
+
* [[../optparse|<code>optparse</code> — 命令行选项解析器]]
** [[../optparse#background|Background]]
+
** [[../optparse#background|背景]]
*** [[../optparse#terminology|Terminology]]
+
*** [[../optparse#terminology|术语]]
*** [[../optparse#what-are-options-for|What are options for?]]
+
*** [[../optparse#what-are-options-for|什么是选项?]]
*** [[../optparse#what-are-positional-arguments-for|What are positional arguments for?]]
+
*** [[../optparse#what-are-positional-arguments-for|什么是位置参数?]]
** [[../optparse#tutorial|Tutorial]]
+
** [[../optparse#tutorial|教程]]
*** [[../optparse#understanding-option-actions|Understanding option actions]]
+
*** [[../optparse#understanding-option-actions|了解选项操作]]
*** [[../optparse#the-store-action|The store action]]
+
*** [[../optparse#the-store-action|店铺动作]]
*** [[../optparse#handling-boolean-flag-options|Handling boolean (flag) options]]
+
*** [[../optparse#handling-boolean-flag-options|处理布尔(标志)选项]]
*** [[../optparse#other-actions|Other actions]]
+
*** [[../optparse#other-actions|其他行为]]
*** [[../optparse#default-values|Default values]]
+
*** [[../optparse#default-values|默认值]]
*** [[../optparse#generating-help|Generating help]]
+
*** [[../optparse#generating-help|生成帮助]]
**** [[../optparse#grouping-options|Grouping Options]]
+
**** [[../optparse#grouping-options|分组选项]]
*** [[../optparse#printing-a-version-string|Printing a version string]]
+
*** [[../optparse#printing-a-version-string|打印版本字符串]]
*** [[../optparse#how-optparse-handles-errors|How <code>optparse</code> handles errors]]
+
*** [[../optparse#how-optparse-handles-errors|<code>optparse</code> 如何处理错误]]
*** [[../optparse#putting-it-all-together|Putting it all together]]
+
*** [[../optparse#putting-it-all-together|把这一切放在一起]]
** [[../optparse#reference-guide|Reference Guide]]
+
** [[../optparse#reference-guide|参考指南]]
*** [[../optparse#creating-the-parser|Creating the parser]]
+
*** [[../optparse#creating-the-parser|创建解析器]]
*** [[../optparse#populating-the-parser|Populating the parser]]
+
*** [[../optparse#populating-the-parser|填充解析器]]
*** [[../optparse#defining-options|Defining options]]
+
*** [[../optparse#defining-options|定义选项]]
*** [[../optparse#option-attributes|Option attributes]]
+
*** [[../optparse#option-attributes|选项属性]]
*** [[../optparse#standard-option-actions|Standard option actions]]
+
*** [[../optparse#standard-option-actions|标准选项操作]]
*** [[../optparse#standard-option-types|Standard option types]]
+
*** [[../optparse#standard-option-types|标准选项类型]]
*** [[../optparse#parsing-arguments|Parsing arguments]]
+
*** [[../optparse#parsing-arguments|解析参数]]
*** [[../optparse#querying-and-manipulating-your-option-parser|Querying and manipulating your option parser]]
+
*** [[../optparse#querying-and-manipulating-your-option-parser|查询和操作您的选项解析器]]
*** [[../optparse#conflicts-between-options|Conflicts between options]]
+
*** [[../optparse#conflicts-between-options|选项之间的冲突]]
*** [[../optparse#cleanup|Cleanup]]
+
*** [[../optparse#cleanup|清理]]
*** [[../optparse#other-methods|Other methods]]
+
*** [[../optparse#other-methods|其他方法]]
** [[../optparse#option-callbacks|Option Callbacks]]
+
** [[../optparse#option-callbacks|期权回调]]
*** [[../optparse#defining-a-callback-option|Defining a callback option]]
+
*** [[../optparse#defining-a-callback-option|定义回调选项]]
*** [[../optparse#how-callbacks-are-called|How callbacks are called]]
+
*** [[../optparse#how-callbacks-are-called|如何调用回调]]
*** [[../optparse#raising-errors-in-a-callback|Raising errors in a callback]]
+
*** [[../optparse#raising-errors-in-a-callback|在回调中引发错误]]
*** [[optparse.html#callback-example-1-trivial-callback|Callback example 1: trivial callback]]
+
*** [[../optparse#callback-example-1-trivial-callback|回调示例 1:普通回调]]
*** [[optparse.html#callback-example-2-check-option-order|Callback example 2: check option order]]
+
*** [[../optparse#callback-example-2-check-option-order|回调示例2:检查选项顺序]]
*** [[optparse.html#callback-example-3-check-option-order-generalized|Callback example 3: check option order (generalized)]]
+
*** [[../optparse#callback-example-3-check-option-order-generalized|回调示例 3:检查选项顺序(广义)]]
*** [[optparse.html#callback-example-4-check-arbitrary-condition|Callback example 4: check arbitrary condition]]
+
*** [[../optparse#callback-example-4-check-arbitrary-condition|回调示例4:检查任意条件]]
*** [[optparse.html#callback-example-5-fixed-arguments|Callback example 5: fixed arguments]]
+
*** [[../optparse#callback-example-5-fixed-arguments|回调示例 5:固定参数]]
*** [[optparse.html#callback-example-6-variable-arguments|Callback example 6: variable arguments]]
+
*** [[../optparse#callback-example-6-variable-arguments|回调示例 6:可变参数]]
** [[../optparse#extending-optparse|Extending <code>optparse</code>]]
+
** [[../optparse#extending-optparse|延伸 <code>optparse</code>]]
*** [[../optparse#adding-new-types|Adding new types]]
+
*** [[../optparse#adding-new-types|添加新类型]]
*** [[../optparse#adding-new-actions|Adding new actions]]
+
*** [[../optparse#adding-new-actions|添加新动作]]
* [[../imp|<code>imp</code> --- Access the <span class="xref std std-ref">import</span> internals]]
+
* [[../imp|<code>imp</code> — 访问 <span class="xref std std-ref">import</span> 内部]]
** [[../imp#examples|Examples]]
+
** [[../imp#examples|例子]]
  
  
第57行: 第57行:
  
 
</div>
 
</div>
 +
<div class="clearer">
  
[[Category:Python 3.9 中文文档]]
+
 
 +
 
 +
</div>
 +
 
 +
[[Category:Python 3.9 文档]]

2021年10月31日 (日) 04:53的最新版本