@@ -1419,6 +1419,9 @@ msgid ""
14191419"dumped by default. If this is wanted, *include_attributes* can be set to "
14201420"true."
14211421msgstr ""
1422+ "返回 *node* 中树结构的格式化转储。 这主要适用于调试目的。 如果 *annotate_fields* "
1423+ "为真值(默认),返回的字符串将显示字段的名称和值。 如果 *annotate_fields* 为假值,结果字符串将通过省略无歧义的字段名称变得更为紧凑。"
1424+ " 默认情况下不会转储行号和列偏移等属性。 如果需要,可将 *include_attributes* 设为真值。"
14221425
14231426#: ../../library/ast.rst:2146
14241427msgid ""
@@ -1429,38 +1432,43 @@ msgid ""
14291432"many spaces per level. If *indent* is a string (such as ``\"\\ t\" ``), that "
14301433"string is used to indent each level."
14311434msgstr ""
1435+ "如果 *indent* 是一个非负整数或者字符串,那么节点树将被美化输出为指定的缩进级别。 如果缩进级别为 0、负数或者 ``\"\" `` "
1436+ "则将只插入换行符。 ``None`` (默认) 将选择最紧凑的表示形式。 使用一个正整数将让每个级别缩进相应数量的空格。 如果 *indent* "
1437+ "是一个字符串 (如 ``\"\\ t\" ``),该字符串会被用于缩进每个级别。"
14321438
14331439#: ../../library/ast.rst:2153
14341440msgid "Added the *indent* option."
1435- msgstr ""
1441+ msgstr "添加了 *indent* 选项。 "
14361442
14371443#: ../../library/ast.rst:2160
14381444msgid "Compiler Flags"
1439- msgstr ""
1445+ msgstr "编译器旗标 "
14401446
14411447#: ../../library/ast.rst:2162
14421448msgid ""
14431449"The following flags may be passed to :func:`compile` in order to change "
14441450"effects on the compilation of a program:"
1445- msgstr ""
1451+ msgstr "下列旗标可被传给 :func:`compile` 用来改变程序编译的效果: "
14461452
14471453#: ../../library/ast.rst:2167
14481454msgid ""
14491455"Enables support for top-level ``await``, ``async for``, ``async with`` and "
14501456"async comprehensions."
1451- msgstr ""
1457+ msgstr "启用对最高层级 ``await``, ``async for``, ``async with`` 以及异步推导式的支持。 "
14521458
14531459#: ../../library/ast.rst:2174
14541460msgid ""
14551461"Generates and returns an abstract syntax tree instead of returning a "
14561462"compiled code object."
1457- msgstr ""
1463+ msgstr "生成并返回一个抽象语法树而不是返回一个已编译的代码对象。 "
14581464
14591465#: ../../library/ast.rst:2179
14601466msgid ""
14611467"Enables support for :pep:`484` and :pep:`526` style type comments (``# type:"
14621468" <type>``, ``# type: ignore <stuff>``)."
14631469msgstr ""
1470+ "启用对 :pep:`484` 和 :pep:`526` 风格的类型注释的支持 (``# type: <type>``, ``# type: ignore"
1471+ " <stuff>``)。"
14641472
14651473#: ../../library/ast.rst:2188
14661474msgid "Command-Line Usage"
@@ -1470,15 +1478,15 @@ msgstr "命令行用法"
14701478msgid ""
14711479"The :mod:`ast` module can be executed as a script from the command line. It "
14721480"is as simple as:"
1473- msgstr ""
1481+ msgstr ":mod:`ast` 模块可以在命令行下作为脚本来执行。 具体做法非常简单: "
14741482
14751483#: ../../library/ast.rst:2199
14761484msgid "The following options are accepted:"
14771485msgstr "可以接受以下选项:"
14781486
14791487#: ../../library/ast.rst:2205
14801488msgid "Show the help message and exit."
1481- msgstr ""
1489+ msgstr "显示帮助信息并退出。 "
14821490
14831491#: ../../library/ast.rst:2210
14841492msgid ""
0 commit comments