Skip to content

Commit 5d871b5

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython de86aaa1
1 parent 99624c7 commit 5d871b5

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

library/__main__.po

+5-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
10+
"POT-Creation-Date: 2024-07-05 00:03+0000\n"
1111
"PO-Revision-Date: 2023-12-21 14:49+0800\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -332,10 +332,11 @@ msgstr ""
332332
"的路徑: ::"
333333

334334
#: ../../library/__main__.rst:254
335+
#, fuzzy
335336
msgid ""
336-
"This won't work for ``__main__.py`` files in the root directory of a .zip "
337-
"file though. Hence, for consistency, minimal ``__main__.py`` like the :mod:"
338-
"`venv` one mentioned below are preferred."
337+
"This won't work for ``__main__.py`` files in the root directory of a ``."
338+
"zip`` file though. Hence, for consistency, a minimal ``__main__.py`` "
339+
"without a ``__name__`` check is preferred."
339340
msgstr ""
340341
"但這對於 .zip 檔案根目錄中的 ``__main__.py`` 檔案不起作用。因此,為了保持一致"
341342
"性,最小的 ``__main__.py`` 如下面提到的 :mod:`venv` 會是首選。"

reference/simple_stmts.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-06-16 00:03+0000\n"
10+
"POT-Creation-Date: 2024-07-05 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:17+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -283,7 +283,7 @@ msgstr ""
283283

284284
#: ../../reference/simple_stmts.rst:296
285285
msgid ""
286-
"An augmented assignment expression like ``x += 1`` can be rewritten as ``x = "
286+
"An augmented assignment statement like ``x += 1`` can be rewritten as ``x = "
287287
"x + 1`` to achieve a similar, but not exactly equal effect. In the augmented "
288288
"version, ``x`` is only evaluated once. Also, when possible, the actual "
289289
"operation is performed *in-place*, meaning that rather than creating a new "

0 commit comments

Comments
 (0)