Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45685fa

Browse files
[po] auto sync
1 parent b0fe65e commit 45685fa

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

library/ast.po

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,9 @@ msgid ""
12191219
"dumped by default. If this is wanted, *include_attributes* can be set to "
12201220
"true."
12211221
msgstr ""
1222+
"返回 *node* 中树结构的格式化转储。 这主要适用于调试目的。 如果 *annotate_fields* "
1223+
"为真值(默认),返回的字符串将显示字段的名称和值。 如果 *annotate_fields* 为假值,结果字符串将通过省略无歧义的字段名称变得更为紧凑。"
1224+
" 默认情况下不会转储行号和列偏移等属性。 如果需要,可将 *include_attributes* 设为真值。"
12221225

12231226
#: ../../library/ast.rst:1758
12241227
msgid ""
@@ -1229,38 +1232,43 @@ msgid ""
12291232
"many spaces per level. If *indent* is a string (such as ``\"\\t\"``), that "
12301233
"string is used to indent each level."
12311234
msgstr ""
1235+
"如果 *indent* 是一个非负整数或者字符串,那么节点树将被美化输出为指定的缩进级别。 如果缩进级别为 0、负数或者 ``\"\"`` "
1236+
"则将只插入换行符。 ``None`` (默认) 将选择最紧凑的表示形式。 使用一个正整数将让每个级别缩进相应数量的空格。 如果 *indent* "
1237+
"是一个字符串 (如 ``\"\\t\"``),该字符串会被用于缩进每个级别。"
12321238

12331239
#: ../../library/ast.rst:1765
12341240
msgid "Added the *indent* option."
1235-
msgstr ""
1241+
msgstr "添加了 *indent* 选项。"
12361242

12371243
#: ../../library/ast.rst:1772
12381244
msgid "Compiler Flags"
1239-
msgstr ""
1245+
msgstr "编译器旗标"
12401246

12411247
#: ../../library/ast.rst:1774
12421248
msgid ""
12431249
"The following flags may be passed to :func:`compile` in order to change "
12441250
"effects on the compilation of a program:"
1245-
msgstr ""
1251+
msgstr "下列旗标可被传给 :func:`compile` 用来改变程序编译的效果:"
12461252

12471253
#: ../../library/ast.rst:1779
12481254
msgid ""
12491255
"Enables support for top-level ``await``, ``async for``, ``async with`` and "
12501256
"async comprehensions."
1251-
msgstr ""
1257+
msgstr "启用对最高层级 ``await``, ``async for``, ``async with`` 以及异步推导式的支持。"
12521258

12531259
#: ../../library/ast.rst:1786
12541260
msgid ""
12551261
"Generates and returns an abstract syntax tree instead of returning a "
12561262
"compiled code object."
1257-
msgstr ""
1263+
msgstr "生成并返回一个抽象语法树而不是返回一个已编译的代码对象。"
12581264

12591265
#: ../../library/ast.rst:1791
12601266
msgid ""
12611267
"Enables support for :pep:`484` and :pep:`526` style type comments (``# type:"
12621268
" <type>``, ``# type: ignore <stuff>``)."
12631269
msgstr ""
1270+
"启用对 :pep:`484` 和 :pep:`526` 风格的类型注释的支持 (``# type: <type>``, ``# type: ignore"
1271+
" <stuff>``)。"
12641272

12651273
#: ../../library/ast.rst:1800
12661274
msgid "Command-Line Usage"
@@ -1270,15 +1278,15 @@ msgstr "命令行用法"
12701278
msgid ""
12711279
"The :mod:`ast` module can be executed as a script from the command line. It "
12721280
"is as simple as:"
1273-
msgstr ""
1281+
msgstr ":mod:`ast` 模块可以在命令行下作为脚本来执行。 具体做法非常简单:"
12741282

12751283
#: ../../library/ast.rst:1811
12761284
msgid "The following options are accepted:"
12771285
msgstr "可以接受以下选项:"
12781286

12791287
#: ../../library/ast.rst:1817
12801288
msgid "Show the help message and exit."
1281-
msgstr ""
1289+
msgstr "显示帮助信息并退出。"
12821290

12831291
#: ../../library/ast.rst:1822
12841292
msgid ""

0 commit comments

Comments
 (0)