@@ -16,7 +16,7 @@ msgid ""
1616msgstr ""
1717"Project-Id-Version : Python 3.9\n "
1818"Report-Msgid-Bugs-To : \n "
19- "POT-Creation-Date : 2020-08-12 03:50 +0000\n "
19+ "POT-Creation-Date : 2020-10-20 04:23 +0000\n "
2020"PO-Revision-Date : 2017-02-16 17:48+0000\n "
2121"
Last-Translator :
Freesand Leo <[email protected] >, 2020\n "
2222"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1076,77 +1076,105 @@ msgid "Added the *indent* option."
10761076msgstr ""
10771077
10781078#: ../../library/ast.rst:1759
1079+ msgid "Compiler Flags"
1080+ msgstr ""
1081+
1082+ #: ../../library/ast.rst:1761
1083+ msgid ""
1084+ "The following flags may be passed to :func:`compile` in order to change "
1085+ "effects on the compilation of a program:"
1086+ msgstr ""
1087+
1088+ #: ../../library/ast.rst:1766
1089+ msgid ""
1090+ "Enables support for top-level ``await``, ``async for``, ``async with`` and "
1091+ "async comprehensions."
1092+ msgstr ""
1093+
1094+ #: ../../library/ast.rst:1773
1095+ msgid ""
1096+ "Generates and returns an abstract syntax tree instead of returning a "
1097+ "compiled code object."
1098+ msgstr ""
1099+
1100+ #: ../../library/ast.rst:1778
1101+ msgid ""
1102+ "Enables support for :pep:`484` and :pep:`526` style type comments (``# type:"
1103+ " <type>``, ``# type: ignore <stuff>``)."
1104+ msgstr ""
1105+
1106+ #: ../../library/ast.rst:1787
10791107msgid "Command-Line Usage"
10801108msgstr ""
10811109
1082- #: ../../library/ast.rst:1763
1110+ #: ../../library/ast.rst:1791
10831111msgid ""
10841112"The :mod:`ast` module can be executed as a script from the command line. It "
10851113"is as simple as:"
10861114msgstr ""
10871115
1088- #: ../../library/ast.rst:1770
1116+ #: ../../library/ast.rst:1798
10891117msgid "The following options are accepted:"
10901118msgstr ""
10911119
1092- #: ../../library/ast.rst:1776
1120+ #: ../../library/ast.rst:1804
10931121msgid "Show the help message and exit."
10941122msgstr ""
10951123
1096- #: ../../library/ast.rst:1781
1124+ #: ../../library/ast.rst:1809
10971125msgid ""
10981126"Specify what kind of code must be compiled, like the *mode* argument in "
10991127":func:`parse`."
11001128msgstr ""
11011129
1102- #: ../../library/ast.rst:1786
1130+ #: ../../library/ast.rst:1814
11031131msgid "Don't parse type comments."
11041132msgstr ""
11051133
1106- #: ../../library/ast.rst:1790
1134+ #: ../../library/ast.rst:1818
11071135msgid "Include attributes such as line numbers and column offsets."
11081136msgstr ""
11091137
1110- #: ../../library/ast.rst:1795
1138+ #: ../../library/ast.rst:1823
11111139msgid "Indentation of nodes in AST (number of spaces)."
11121140msgstr ""
11131141
1114- #: ../../library/ast.rst:1797
1142+ #: ../../library/ast.rst:1825
11151143msgid ""
11161144"If :file:`infile` is specified its contents are parsed to AST and dumped to "
11171145"stdout. Otherwise, the content is read from stdin."
11181146msgstr ""
11191147
1120- #: ../../library/ast.rst:1803
1148+ #: ../../library/ast.rst:1831
11211149msgid ""
11221150"`Green Tree Snakes <https://greentreesnakes.readthedocs.io/>`_, an external "
11231151"documentation resource, has good details on working with Python ASTs."
11241152msgstr ""
11251153
1126- #: ../../library/ast.rst:1806
1154+ #: ../../library/ast.rst:1834
11271155msgid ""
11281156"`ASTTokens <https://asttokens.readthedocs.io/en/latest/user-guide.html>`_ "
11291157"annotates Python ASTs with the positions of tokens and text in the source "
11301158"code that generated them. This is helpful for tools that make source code "
11311159"transformations."
11321160msgstr ""
11331161
1134- #: ../../library/ast.rst:1811
1162+ #: ../../library/ast.rst:1839
11351163msgid ""
11361164"`leoAst.py <http://leoeditor.com/appendices.html#leoast-py>`_ unifies the "
11371165"token-based and parse-tree-based views of python programs by inserting two-"
11381166"way links between tokens and ast nodes."
11391167msgstr ""
11401168
1141- #: ../../library/ast.rst:1815
1169+ #: ../../library/ast.rst:1843
11421170msgid ""
11431171"`LibCST <https://libcst.readthedocs.io/>`_ parses code as a Concrete Syntax "
11441172"Tree that looks like an ast tree and keeps all formatting details. It's "
11451173"useful for building automated refactoring (codemod) applications and "
11461174"linters."
11471175msgstr ""
11481176
1149- #: ../../library/ast.rst:1820
1177+ #: ../../library/ast.rst:1848
11501178msgid ""
11511179"`Parso <https://parso.readthedocs.io>`_ is a Python parser that supports "
11521180"error recovery and round-trip parsing for different Python versions (in "
0 commit comments