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

Skip to content

Commit abe4e4f

Browse files
[po] auto sync
1 parent 846c2c0 commit abe4e4f

2 files changed

Lines changed: 5089 additions & 5068 deletions

File tree

library/ast.po

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.8\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2020-01-01 12:19+0000\n"
18+
"POT-Creation-Date: 2020-01-13 12:25+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"
@@ -406,10 +406,18 @@ msgid ""
406406
msgstr "对于属于语句集合(适用于所有语句节点)的节点,访问者还可以返回节点列表而不仅仅是单个节点。"
407407

408408
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:317
409+
msgid ""
410+
"If :class:`NodeTransformer` introduces new nodes (that weren't part of "
411+
"original tree) without giving them location information (such as "
412+
":attr:`lineno`), :func:`fix_missing_locations` should be called with the new"
413+
" sub-tree to recalculate the location information::"
414+
msgstr ""
415+
416+
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:325
409417
msgid "Usually you use the transformer like this::"
410418
msgstr "通常你可以像这样使用转换器:: "
411419

412-
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:324
420+
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:332
413421
msgid ""
414422
"Return a formatted dump of the tree in *node*. This is mainly useful for "
415423
"debugging purposes. If *annotate_fields* is true (by default), the returned"
@@ -420,7 +428,7 @@ msgid ""
420428
"true."
421429
msgstr ""
422430

423-
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:334
431+
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:342
424432
msgid ""
425433
"`Green Tree Snakes <https://greentreesnakes.readthedocs.io/>`_, an external "
426434
"documentation resource, has good details on working with Python ASTs."

0 commit comments

Comments
 (0)