@@ -15,7 +15,7 @@ msgid ""
1515msgstr ""
1616"Project-Id-Version : Python 3.7\n "
1717"Report-Msgid-Bugs-To : \n "
18- "POT-Creation-Date : 2019-01-01 10:14+0900 \n "
18+ "POT-Creation-Date : 2019-08-30 03:20+0000 \n "
1919"PO-Revision-Date : 2017-02-16 17:48+0000\n "
2020"
Last-Translator :
xixi zhao <[email protected] >, 2019\n "
2121"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -340,17 +340,15 @@ msgstr "通常你可以像这样使用转换器:: "
340340#: ../../library/ast.rst:264
341341msgid ""
342342"Return a formatted dump of the tree in *node*. This is mainly useful for "
343- "debugging purposes. The returned string will show the names and the values "
344- "for fields. This makes the code impossible to evaluate, so if evaluation is"
345- " wanted *annotate_fields* must be set to ``False``. Attributes such as line"
346- " numbers and column offsets are not dumped by default. If this is wanted, "
347- "*include_attributes* can be set to ``True``."
343+ "debugging purposes. If *annotate_fields* is true (by default), the returned"
344+ " string will show the names and the values for fields. If *annotate_fields* "
345+ "is false, the result string will be more compact by omitting unambiguous "
346+ "field names. Attributes such as line numbers and column offsets are not "
347+ "dumped by default. If this is wanted, *include_attributes* can be set to "
348+ "true."
348349msgstr ""
349- "返回 *节点* 树的格式化转储。这主要用作调试目的。返回的字符串将会显示字段的名称和值。这会使得代码无法评估,当需要评估时, "
350- "*annotate_fields* 必须设置为 ``False`` 。默认情况下不会转储行号和列偏移等属性。如有需要,请将 "
351- "*include_attributes* 设置为 ``True`` 。"
352350
353- #: ../../library/ast.rst:273
351+ #: ../../library/ast.rst:274
354352msgid ""
355353"`Green Tree Snakes <https://greentreesnakes.readthedocs.io/>`_, an external "
356354"documentation resource, has good details on working with Python ASTs."
0 commit comments