Skip to content

Commit 5fe9c6f

Browse files
sync with cpython df858161
1 parent 5fabd32 commit 5fe9c6f

File tree

2 files changed

+144
-135
lines changed

2 files changed

+144
-135
lines changed

reference/lexical_analysis.po

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.13\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2025-03-19 00:14+0000\n"
9+
"POT-Creation-Date: 2025-05-09 00:15+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:17+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -23,18 +23,18 @@ msgstr "詞法分析"
2323

2424
#: ../../reference/lexical_analysis.rst:10
2525
msgid ""
26-
"A Python program is read by a *parser*. Input to the parser is a stream "
27-
"of :term:`tokens <token>`, generated by the *lexical analyzer* (also known "
28-
"as the *tokenizer*). This chapter describes how the lexical analyzer breaks "
29-
"a file into tokens."
26+
"A Python program is read by a *parser*. Input to the parser is a stream of :"
27+
"term:`tokens <token>`, generated by the *lexical analyzer* (also known as "
28+
"the *tokenizer*). This chapter describes how the lexical analyzer breaks a "
29+
"file into tokens."
3030
msgstr ""
3131

3232
#: ../../reference/lexical_analysis.rst:15
3333
msgid ""
3434
"Python reads program text as Unicode code points; the encoding of a source "
35-
"file can be given by an encoding declaration and defaults to UTF-8, "
36-
"see :pep:`3120` for details. If the source file cannot be decoded, "
37-
"a :exc:`SyntaxError` is raised."
35+
"file can be given by an encoding declaration and defaults to UTF-8, see :pep:"
36+
"`3120` for details. If the source file cannot be decoded, a :exc:"
37+
"`SyntaxError` is raised."
3838
msgstr ""
3939

4040
#: ../../reference/lexical_analysis.rst:24
@@ -126,7 +126,8 @@ msgstr ""
126126
msgid ""
127127
"If no encoding declaration is found, the default encoding is UTF-8. If the "
128128
"implicit or explicit encoding of a file is UTF-8, an initial UTF-8 byte-"
129-
"order mark (b'\\xef\\xbb\\xbf') is ignored rather than being a syntax error."
129+
"order mark (``b'\\xef\\xbb\\xbf'``) is ignored rather than being a syntax "
130+
"error."
130131
msgstr ""
131132

132133
#: ../../reference/lexical_analysis.rst:104
@@ -371,8 +372,8 @@ msgid ""
371372
"the underscore ``_`` and, except for the first character, the digits ``0`` "
372373
"through ``9``. Python 3.0 introduced additional characters from outside the "
373374
"ASCII range (see :pep:`3131`). For these characters, the classification "
374-
"uses the version of the Unicode Character Database as included in "
375-
"the :mod:`unicodedata` module."
375+
"uses the version of the Unicode Character Database as included in the :mod:"
376+
"`unicodedata` module."
376377
msgstr ""
377378

378379
#: ../../reference/lexical_analysis.rst:295
@@ -425,8 +426,8 @@ msgstr ""
425426

426427
#: ../../reference/lexical_analysis.rst:316
427428
msgid ""
428-
"*Other_ID_Start* - explicit list of characters in `PropList.txt <https://"
429-
"www.unicode.org/Public/15.1.0/ucd/PropList.txt>`_ to support backwards "
429+
"*Other_ID_Start* - explicit list of characters in `PropList.txt <https://www."
430+
"unicode.org/Public/15.1.0/ucd/PropList.txt>`_ to support backwards "
430431
"compatibility"
431432
msgstr ""
432433

@@ -530,16 +531,16 @@ msgstr "``_``"
530531

531532
#: ../../reference/lexical_analysis.rst:393
532533
msgid ""
533-
"In a ``case`` pattern within a :keyword:`match` statement, ``_`` is "
534-
"a :ref:`soft keyword <soft-keywords>` that denotes a :ref:`wildcard "
535-
"<wildcard-patterns>`."
534+
"In a ``case`` pattern within a :keyword:`match` statement, ``_`` is a :ref:"
535+
"`soft keyword <soft-keywords>` that denotes a :ref:`wildcard <wildcard-"
536+
"patterns>`."
536537
msgstr ""
537538

538539
#: ../../reference/lexical_analysis.rst:397
539540
msgid ""
540541
"Separately, the interactive interpreter makes the result of the last "
541-
"evaluation available in the variable ``_``. (It is stored in "
542-
"the :mod:`builtins` module, alongside built-in functions like ``print``.)"
542+
"evaluation available in the variable ``_``. (It is stored in the :mod:"
543+
"`builtins` module, alongside built-in functions like ``print``.)"
543544
msgstr ""
544545

545546
#: ../../reference/lexical_analysis.rst:402
@@ -607,8 +608,8 @@ msgid ""
607608
"whitespace is not allowed between the :token:`~python-grammar:stringprefix` "
608609
"or :token:`~python-grammar:bytesprefix` and the rest of the literal. The "
609610
"source character set is defined by the encoding declaration; it is UTF-8 if "
610-
"no encoding declaration is given in the source file; see "
611-
"section :ref:`encodings`."
611+
"no encoding declaration is given in the source file; see section :ref:"
612+
"`encodings`."
612613
msgstr ""
613614

614615
#: ../../reference/lexical_analysis.rst:483
@@ -650,8 +651,8 @@ msgstr ""
650651
#: ../../reference/lexical_analysis.rst:515
651652
msgid ""
652653
"Support for the unicode legacy literal (``u'value'``) was reintroduced to "
653-
"simplify the maintenance of dual Python 2.x and 3.x codebases. "
654-
"See :pep:`414` for more information."
654+
"simplify the maintenance of dual Python 2.x and 3.x codebases. See :pep:"
655+
"`414` for more information."
655656
msgstr ""
656657

657658
#: ../../reference/lexical_analysis.rst:523
@@ -880,15 +881,15 @@ msgstr ""
880881

881882
#: ../../reference/lexical_analysis.rst:619
882883
msgid ""
883-
"Octal escapes with value larger than ``0o377`` produce "
884-
"a :exc:`DeprecationWarning`."
884+
"Octal escapes with value larger than ``0o377`` produce a :exc:"
885+
"`DeprecationWarning`."
885886
msgstr ""
886887

887888
#: ../../reference/lexical_analysis.rst:623
888889
msgid ""
889-
"Octal escapes with value larger than ``0o377`` produce "
890-
"a :exc:`SyntaxWarning`. In a future Python version they will be eventually "
891-
"a :exc:`SyntaxError`."
890+
"Octal escapes with value larger than ``0o377`` produce a :exc:"
891+
"`SyntaxWarning`. In a future Python version they will be eventually a :exc:"
892+
"`SyntaxError`."
892893
msgstr ""
893894

894895
#: ../../reference/lexical_analysis.rst:629

0 commit comments

Comments
 (0)