@@ -12,7 +12,7 @@ msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version : Python 3.7\n "
14
14
"Report-Msgid-Bugs-To : \n "
15
- "POT-Creation-Date : 2020-01-01 04:28 +0000\n "
15
+ "POT-Creation-Date : 2020-01-13 04:32 +0000\n "
16
16
"PO-Revision-Date : 2019-09-01 02:44+0000\n "
17
17
"Last-Translator : Osamu NAKAMURA, 2019\n "
18
18
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -380,10 +380,18 @@ msgstr ""
380
380
"に対して、このビジターは単独のノードではなくノードのリストを返すかもしれません。"
381
381
382
382
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:257
383
+ msgid ""
384
+ "If :class:`NodeTransformer` introduces new nodes (that weren't part of "
385
+ "original tree) without giving them location information (such as "
386
+ ":attr:`lineno`), :func:`fix_missing_locations` should be called with the new"
387
+ " sub-tree to recalculate the location information::"
388
+ msgstr ""
389
+
390
+ #: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:265
383
391
msgid "Usually you use the transformer like this::"
384
392
msgstr "たいてい、変換器の使い方は次のようになります::"
385
393
386
- #: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:264
394
+ #: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:272
387
395
msgid ""
388
396
"Return a formatted dump of the tree in *node*. This is mainly useful for "
389
397
"debugging purposes. If *annotate_fields* is true (by default), the returned"
@@ -394,7 +402,7 @@ msgid ""
394
402
"true."
395
403
msgstr ""
396
404
397
- #: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:274
405
+ #: /home/travis/build/python/cpython-doc-catalog/Doc/library/ast.rst:282
398
406
msgid ""
399
407
"`Green Tree Snakes <https://greentreesnakes.readthedocs.io/>`_, an external "
400
408
"documentation resource, has good details on working with Python ASTs."
0 commit comments