Skip to content

Commit bb89cf0

Browse files
sync with cpython 41e3ea13
1 parent 966b5c8 commit bb89cf0

File tree

2 files changed

+504
-489
lines changed

2 files changed

+504
-489
lines changed

library/codeop.po

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
10+
"POT-Creation-Date: 2023-03-31 00:16+0000\n"
1111
"PO-Revision-Date: 2016-11-19 00:28+0000\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -41,13 +41,13 @@ msgstr ""
4141

4242
#: ../../library/codeop.rst:22
4343
msgid ""
44-
"Being able to tell if a line of input completes a Python statement: in "
44+
"Being able to tell if a line of input completes a Python statement: in "
4545
"short, telling whether to print '``>>>``' or '``...``' next."
4646
msgstr ""
4747

4848
#: ../../library/codeop.rst:25
4949
msgid ""
50-
"Remembering which future statements the user has entered, so subsequent "
50+
"Remembering which future statements the user has entered, so subsequent "
5151
"input can be compiled with these in effect."
5252
msgstr ""
5353

@@ -64,9 +64,9 @@ msgstr ""
6464
#: ../../library/codeop.rst:35
6565
msgid ""
6666
"Tries to compile *source*, which should be a string of Python code and "
67-
"return a code object if *source* is valid Python code. In that case, the "
67+
"return a code object if *source* is valid Python code. In that case, the "
6868
"filename attribute of the code object will be *filename*, which defaults to "
69-
"``'<input>'``. Returns ``None`` if *source* is *not* valid Python code, but "
69+
"``'<input>'``. Returns ``None`` if *source* is *not* valid Python code, but "
7070
"is a prefix of valid Python code."
7171
msgstr ""
7272

@@ -80,9 +80,9 @@ msgstr ""
8080
#: ../../library/codeop.rst:45
8181
msgid ""
8282
"The *symbol* argument determines whether *source* is compiled as a statement "
83-
"(``'single'``, the default), as a sequence of statements (``'exec'``) or as "
84-
"an :term:`expression` (``'eval'``). Any other value will cause :exc:"
85-
"`ValueError` to be raised."
83+
"(``'single'``, the default), as a sequence of :term:`statement` (``'exec'``) "
84+
"or as an :term:`expression` (``'eval'``). Any other value will cause :exc:"
85+
"`ValueError` to be raised."
8686
msgstr ""
8787

8888
#: ../../library/codeop.rst:52
@@ -107,6 +107,7 @@ msgstr ""
107107
msgid ""
108108
"Instances of this class have :meth:`__call__` methods identical in signature "
109109
"to :func:`compile_command`; the difference is that if the instance compiles "
110-
"program text containing a ``__future__`` statement, the instance 'remembers' "
111-
"and compiles all subsequent program texts with the statement in force."
110+
"program text containing a :mod:`__future__` statement, the instance "
111+
"'remembers' and compiles all subsequent program texts with the statement in "
112+
"force."
112113
msgstr ""

0 commit comments

Comments
 (0)