Skip to content

Commit 3f5a24a

Browse files
sync with cpython 7f263d44
1 parent 735640c commit 3f5a24a

File tree

5 files changed

+28
-27
lines changed

5 files changed

+28
-27
lines changed

tutorial/errors.po

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.13\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2024-10-27 00:14+0000\n"
12+
"POT-Creation-Date: 2024-11-26 00:14+0000\n"
1313
"PO-Revision-Date: 2022-10-24 14:54+0800\n"
1414
"Last-Translator: Steven Hsu <hsuhaochun@gmail.com>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -62,13 +62,14 @@ msgstr ""
6262
"SyntaxError: invalid syntax"
6363

6464
#: ../../tutorial/errors.rst:26
65+
#, fuzzy
6566
msgid ""
66-
"The parser repeats the offending line and displays little 'arrow's pointing "
67-
"at the token in the line where the error was detected. The error may be "
68-
"caused by the absence of a token *before* the indicated token. In the "
69-
"example, the error is detected at the function :func:`print`, since a colon "
70-
"(``':'``) is missing before it. File name and line number are printed so "
71-
"you know where to look in case the input came from a script."
67+
"The parser repeats the offending line and displays little arrows pointing at "
68+
"the token in the line where the error was detected. The error may be caused "
69+
"by the absence of a token *before* the indicated token. In the example, the "
70+
"error is detected at the function :func:`print`, since a colon (``':'``) is "
71+
"missing before it. File name and line number are printed so you know where "
72+
"to look in case the input came from a script."
7273
msgstr ""
7374
"剖析器 (parser) 會重複犯錯的那一行,並用一個小「箭頭」指向該行檢測到的第一個"
7475
"錯誤點。錯誤是由箭頭\\ *之前*\\ 的標記 (token) 導致的。此例中,錯誤是在 :"

whatsnew/3.4.po

Lines changed: 2 additions & 2 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: 2024-10-10 00:13+0000\n"
9+
"POT-Creation-Date: 2024-11-26 00:14+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:20+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -2828,7 +2828,7 @@ msgstr ""
28282828

28292829
#: ../../whatsnew/3.4.rst:1982
28302830
msgid ""
2831-
"A new opcode, :opcode:`LOAD_CLASSDEREF`, has been added to fix a bug in the "
2831+
"A new opcode, :opcode:`!LOAD_CLASSDEREF`, has been added to fix a bug in the "
28322832
"loading of free variables in class bodies that could be triggered by certain "
28332833
"uses of :ref:`__prepare__ <prepare>`. (Contributed by Benjamin Peterson in :"
28342834
"issue:`17853`.)"

whatsnew/3.6.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ msgid ""
44
msgstr ""
55
"Project-Id-Version: Python 3.13\n"
66
"Report-Msgid-Bugs-To: \n"
7-
"POT-Creation-Date: 2024-09-27 00:14+0000\n"
7+
"POT-Creation-Date: 2024-11-26 00:14+0000\n"
88
"PO-Revision-Date: 2018-07-15 18:56+0800\n"
99
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1010
"tw)\n"
@@ -3465,8 +3465,8 @@ msgstr ""
34653465

34663466
#: ../../whatsnew/3.6.rst:2369
34673467
msgid ""
3468-
"The new :opcode:`FORMAT_VALUE` and :opcode:`BUILD_STRING` opcodes as part of "
3469-
"the :ref:`formatted string literal <whatsnew36-pep498>` implementation. "
3468+
"The new :opcode:`!FORMAT_VALUE` and :opcode:`BUILD_STRING` opcodes as part "
3469+
"of the :ref:`formatted string literal <whatsnew36-pep498>` implementation. "
34703470
"(Contributed by Eric Smith in :issue:`25483` and Serhiy Storchaka in :issue:"
34713471
"`27078`.)"
34723472
msgstr ""
@@ -3481,18 +3481,18 @@ msgstr ""
34813481
#: ../../whatsnew/3.6.rst:2378
34823482
msgid ""
34833483
"The function call opcodes have been heavily reworked for better performance "
3484-
"and simpler implementation. The :opcode:`MAKE_FUNCTION`, :opcode:"
3485-
"`CALL_FUNCTION`, :opcode:`CALL_FUNCTION_KW` and :opcode:"
3486-
"`BUILD_MAP_UNPACK_WITH_CALL` opcodes have been modified, the new :opcode:"
3487-
"`CALL_FUNCTION_EX` and :opcode:`BUILD_TUPLE_UNPACK_WITH_CALL` have been "
3484+
"and simpler implementation. The :opcode:`MAKE_FUNCTION`, :opcode:`!"
3485+
"CALL_FUNCTION`, :opcode:`!CALL_FUNCTION_KW` and :opcode:`!"
3486+
"BUILD_MAP_UNPACK_WITH_CALL` opcodes have been modified, the new :opcode:"
3487+
"`CALL_FUNCTION_EX` and :opcode:`!BUILD_TUPLE_UNPACK_WITH_CALL` have been "
34883488
"added, and ``CALL_FUNCTION_VAR``, ``CALL_FUNCTION_VAR_KW`` and "
34893489
"``MAKE_CLOSURE`` opcodes have been removed. (Contributed by Demur Rumed in :"
34903490
"issue:`27095`, and Serhiy Storchaka in :issue:`27213`, :issue:`28257`.)"
34913491
msgstr ""
34923492

34933493
#: ../../whatsnew/3.6.rst:2389
34943494
msgid ""
3495-
"The new :opcode:`SETUP_ANNOTATIONS` and :opcode:`STORE_ANNOTATION` opcodes "
3495+
"The new :opcode:`SETUP_ANNOTATIONS` and :opcode:`!STORE_ANNOTATION` opcodes "
34963496
"have been added to support the new :term:`variable annotation` syntax. "
34973497
"(Contributed by Ivan Levkivskyi in :issue:`27985`.)"
34983498
msgstr ""

whatsnew/3.7.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ msgid ""
44
msgstr ""
55
"Project-Id-Version: Python 3.13\n"
66
"Report-Msgid-Bugs-To: \n"
7-
"POT-Creation-Date: 2024-09-24 07:20+0000\n"
7+
"POT-Creation-Date: 2024-11-26 00:14+0000\n"
88
"PO-Revision-Date: 2018-07-15 18:56+0800\n"
99
"Last-Translator: \n"
1010
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -3546,14 +3546,14 @@ msgstr "CPython 位元組碼變更"
35463546

35473547
#: ../../whatsnew/3.7.rst:2479
35483548
msgid ""
3549-
"There are two new opcodes: :opcode:`LOAD_METHOD` and :opcode:`CALL_METHOD`. "
3549+
"There are two new opcodes: :opcode:`LOAD_METHOD` and :opcode:`!CALL_METHOD`. "
35503550
"(Contributed by Yury Selivanov and INADA Naoki in :issue:`26110`.)"
35513551
msgstr ""
35523552

35533553
#: ../../whatsnew/3.7.rst:2482
35543554
msgid ""
3555-
"The :opcode:`STORE_ANNOTATION` opcode has been removed. (Contributed by Mark "
3556-
"Shannon in :issue:`32550`.)"
3555+
"The :opcode:`!STORE_ANNOTATION` opcode has been removed. (Contributed by "
3556+
"Mark Shannon in :issue:`32550`.)"
35573557
msgstr ""
35583558

35593559
#: ../../whatsnew/3.7.rst:2489

whatsnew/3.8.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-11-12 00:13+0000\n"
10+
"POT-Creation-Date: 2024-11-26 00:14+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -3348,11 +3348,11 @@ msgstr ""
33483348

33493349
#: ../../whatsnew/3.8.rst:2155
33503350
msgid ""
3351-
"Removed opcodes :opcode:`BREAK_LOOP`, :opcode:`CONTINUE_LOOP`, :opcode:"
3352-
"`SETUP_LOOP` and :opcode:`SETUP_EXCEPT`. Added new opcodes :opcode:"
3353-
"`ROT_FOUR`, :opcode:`BEGIN_FINALLY`, :opcode:`CALL_FINALLY` and :opcode:"
3354-
"`POP_FINALLY`. Changed the behavior of :opcode:`END_FINALLY` and :opcode:"
3355-
"`WITH_CLEANUP_START`."
3351+
"Removed opcodes :opcode:`!BREAK_LOOP`, :opcode:`!CONTINUE_LOOP`, :opcode:`!"
3352+
"SETUP_LOOP` and :opcode:`!SETUP_EXCEPT`. Added new opcodes :opcode:`!"
3353+
"ROT_FOUR`, :opcode:`!BEGIN_FINALLY`, :opcode:`!CALL_FINALLY` and :opcode:`!"
3354+
"POP_FINALLY`. Changed the behavior of :opcode:`!END_FINALLY` and :opcode:`!"
3355+
"WITH_CLEANUP_START`."
33563356
msgstr ""
33573357

33583358
#: ../../whatsnew/3.8.rst:2161

0 commit comments

Comments
 (0)