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

Skip to content

Commit f89fdaa

Browse files
[po] auto sync
1 parent 07fc3c7 commit f89fdaa

8 files changed

Lines changed: 7047 additions & 6990 deletions

File tree

faq/windows.po

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.9\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
18+
"POT-Creation-Date: 2020-10-20 04:23+0000\n"
1919
"PO-Revision-Date: 2017-02-16 17:43+0000\n"
2020
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
2121
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -195,16 +195,12 @@ msgstr "我怎样使用 Python 脚本制作可执行文件?"
195195

196196
#: ../../faq/windows.rst:143
197197
msgid ""
198-
"See `cx_Freeze <https://anthony-tuininga.github.io/cx_Freeze/>`_ for a "
198+
"See `cx_Freeze <https://cx-freeze.readthedocs.io/en/latest/>`_ for a "
199199
"distutils extension that allows you to create console and GUI executables "
200200
"from Python code. `py2exe <http://www.py2exe.org/>`_, the most popular "
201201
"extension for building Python 2.x-based executables, does not yet support "
202202
"Python 3 but a version that does is in development."
203203
msgstr ""
204-
"请参阅 `cx_Freeze <https://anthony-tuininga.github.io/cx_Freeze/>`_ 了解 "
205-
"distutils 扩展,它允许你从 Python 代码创建控制台和 GUI 可执行文件。 `py2exe "
206-
"<http://www.py2exe.org/>`_ ,是构建基于 Python 2.x 的可执行文件的最流行扩展,它还不支持 Python 3 "
207-
",但这个版本正在开发。"
208204

209205
#: ../../faq/windows.rst:151
210206
msgid "Is a ``*.pyd`` file the same as a DLL?"
@@ -423,9 +419,7 @@ msgstr "如何在不阻塞的情况下检查按键?"
423419

424420
#: ../../faq/windows.rst:282
425421
msgid ""
426-
"Use the msvcrt module. This is a standard Windows-specific extension "
427-
"module. It defines a function ``kbhit()`` which checks whether a keyboard "
422+
"Use the :mod:`msvcrt` module. This is a standard Windows-specific extension"
423+
" module. It defines a function ``kbhit()`` which checks whether a keyboard "
428424
"hit is present, and ``getch()`` which gets one character without echoing it."
429425
msgstr ""
430-
"使用 msvcrt 模块。 是标准的 Windows 特定扩展模块。它定义了一个函数 ``kbhit()`` 来检查是否存在键盘命中,而 "
431-
"``getch()`` 来获取一个字符而不回显它。"

library/ast.po

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
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."
10761076
msgstr ""
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
10791107
msgid "Command-Line Usage"
10801108
msgstr ""
10811109

1082-
#: ../../library/ast.rst:1763
1110+
#: ../../library/ast.rst:1791
10831111
msgid ""
10841112
"The :mod:`ast` module can be executed as a script from the command line. It "
10851113
"is as simple as:"
10861114
msgstr ""
10871115

1088-
#: ../../library/ast.rst:1770
1116+
#: ../../library/ast.rst:1798
10891117
msgid "The following options are accepted:"
10901118
msgstr ""
10911119

1092-
#: ../../library/ast.rst:1776
1120+
#: ../../library/ast.rst:1804
10931121
msgid "Show the help message and exit."
10941122
msgstr ""
10951123

1096-
#: ../../library/ast.rst:1781
1124+
#: ../../library/ast.rst:1809
10971125
msgid ""
10981126
"Specify what kind of code must be compiled, like the *mode* argument in "
10991127
":func:`parse`."
11001128
msgstr ""
11011129

1102-
#: ../../library/ast.rst:1786
1130+
#: ../../library/ast.rst:1814
11031131
msgid "Don't parse type comments."
11041132
msgstr ""
11051133

1106-
#: ../../library/ast.rst:1790
1134+
#: ../../library/ast.rst:1818
11071135
msgid "Include attributes such as line numbers and column offsets."
11081136
msgstr ""
11091137

1110-
#: ../../library/ast.rst:1795
1138+
#: ../../library/ast.rst:1823
11111139
msgid "Indentation of nodes in AST (number of spaces)."
11121140
msgstr ""
11131141

1114-
#: ../../library/ast.rst:1797
1142+
#: ../../library/ast.rst:1825
11151143
msgid ""
11161144
"If :file:`infile` is specified its contents are parsed to AST and dumped to "
11171145
"stdout. Otherwise, the content is read from stdin."
11181146
msgstr ""
11191147

1120-
#: ../../library/ast.rst:1803
1148+
#: ../../library/ast.rst:1831
11211149
msgid ""
11221150
"`Green Tree Snakes <https://greentreesnakes.readthedocs.io/>`_, an external "
11231151
"documentation resource, has good details on working with Python ASTs."
11241152
msgstr ""
11251153

1126-
#: ../../library/ast.rst:1806
1154+
#: ../../library/ast.rst:1834
11271155
msgid ""
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."
11321160
msgstr ""
11331161

1134-
#: ../../library/ast.rst:1811
1162+
#: ../../library/ast.rst:1839
11351163
msgid ""
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."
11391167
msgstr ""
11401168

1141-
#: ../../library/ast.rst:1815
1169+
#: ../../library/ast.rst:1843
11421170
msgid ""
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."
11471175
msgstr ""
11481176

1149-
#: ../../library/ast.rst:1820
1177+
#: ../../library/ast.rst:1848
11501178
msgid ""
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

Comments
 (0)