Skip to content

Commit 82106ec

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.11 (python#339)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt.Wang <[email protected]>
1 parent b736b4d commit 82106ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+6542
-5696
lines changed

c-api/file.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.11\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2022-10-06 00:23+0000\n"
12+
"POT-Creation-Date: 2022-10-31 08:13+0000\n"
1313
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
1414
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -116,7 +116,7 @@ msgstr ""
116116
msgid "This function is safe to call before :c:func:`Py_Initialize`."
117117
msgstr ""
118118

119-
#: ../../c-api/file.rst:85
119+
#: ../../c-api/file.rst:21
120120
msgid ""
121121
"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
122122
"arguments."

c-api/init.po

+6-6
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: 2022-10-15 20:43+0000\n"
10+
"POT-Creation-Date: 2022-10-31 08:13+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -464,7 +464,7 @@ msgid ""
464464
"than once."
465465
msgstr ""
466466

467-
#: ../../c-api/init.rst:305
467+
#: ../../c-api/init.rst:29
468468
msgid ""
469469
"Raises an :ref:`auditing event <auditing>` ``cpython."
470470
"_PySys_ClearAuditHooks`` with no arguments."
@@ -1259,7 +1259,7 @@ msgid ""
12591259
"function."
12601260
msgstr ""
12611261

1262-
#: ../../c-api/init.rst:1109
1262+
#: ../../c-api/init.rst:5
12631263
msgid ""
12641264
"Raises an :ref:`auditing event <auditing>` ``cpython."
12651265
"PyInterpreterState_New`` with no arguments."
@@ -1271,7 +1271,7 @@ msgid ""
12711271
"interpreter lock must be held."
12721272
msgstr ""
12731273

1274-
#: ../../c-api/init.rst:1117
1274+
#: ../../c-api/init.rst:4
12751275
msgid ""
12761276
"Raises an :ref:`auditing event <auditing>` ``cpython."
12771277
"PyInterpreterState_Clear`` with no arguments."
@@ -2044,12 +2044,12 @@ msgstr ""
20442044
msgid ""
20452045
"Free the given *key* allocated by :c:func:`PyThread_tss_alloc`, after first "
20462046
"calling :c:func:`PyThread_tss_delete` to ensure any associated thread locals "
2047-
"have been unassigned. This is a no-op if the *key* argument is `NULL`."
2047+
"have been unassigned. This is a no-op if the *key* argument is ``NULL``."
20482048
msgstr ""
20492049

20502050
#: ../../c-api/init.rst:1802
20512051
msgid ""
2052-
"A freed key becomes a dangling pointer. You should reset the key to `NULL`."
2052+
"A freed key becomes a dangling pointer. You should reset the key to ``NULL``."
20532053
msgstr ""
20542054

20552055
#: ../../c-api/init.rst:1807

c-api/sys.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.11\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
13+
"POT-Creation-Date: 2022-10-31 08:13+0000\n"
1414
"PO-Revision-Date: 2018-05-23 14:07+0000\n"
1515
"Last-Translator: Adrian Liaw <[email protected]>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -454,7 +454,7 @@ msgid ""
454454
"events table <audit-events>`. Details are in each function's documentation."
455455
msgstr ""
456456

457-
#: ../../c-api/sys.rst:390
457+
#: ../../c-api/sys.rst:26
458458
msgid ""
459459
"Raises an :ref:`auditing event <auditing>` ``sys.addaudithook`` with no "
460460
"arguments."

c-api/type.po

+2-2
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: 2022-10-15 20:43+0000\n"
10+
"POT-Creation-Date: 2022-10-31 08:13+0000\n"
1111
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
1212
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -53,7 +53,7 @@ msgstr ""
5353
#: ../../c-api/type.rst:42
5454
msgid ""
5555
"Return the :c:member:`~PyTypeObject.tp_flags` member of *type*. This "
56-
"function is primarily meant for use with `Py_LIMITED_API`; the individual "
56+
"function is primarily meant for use with ``Py_LIMITED_API``; the individual "
5757
"flag bits are guaranteed to be stable across Python releases, but access to :"
5858
"c:member:`~PyTypeObject.tp_flags` itself is not part of the limited API."
5959
msgstr ""

extending/embedding.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
11+
"POT-Creation-Date: 2022-10-31 08:13+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:09+0000\n"
1313
"Last-Translator: Adrian Liaw <[email protected]>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -306,8 +306,8 @@ msgstr ""
306306

307307
#: ../../extending/embedding.rst:304
308308
msgid ""
309-
"``pythonX.Y-config --ldflags`` will give you the recommended flags when "
310-
"linking:"
309+
"``pythonX.Y-config --ldflags --embed`` will give you the recommended flags "
310+
"when linking:"
311311
msgstr ""
312312

313313
#: ../../extending/embedding.rst:313

faq/design.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2022-07-06 00:17+0000\n"
11+
"POT-Creation-Date: 2022-10-31 08:13+0000\n"
1212
"PO-Revision-Date: 2022-08-31 22:38+0800\n"
1313
"Last-Translator: Adrian Liaw <[email protected]>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -287,10 +287,10 @@ msgstr "從 Python 3.8 開始,你可以這麼做了!"
287287

288288
#: ../../faq/design.rst:158
289289
msgid ""
290-
"Assignment expressions using the walrus operator `:=` assign a variable in "
290+
"Assignment expressions using the walrus operator ``:=`` assign a variable in "
291291
"an expression::"
292292
msgstr ""
293-
"指派運算式使用海象運算子 `:=` 來在運算式中指派變數值:\n"
293+
"指派運算式使用海象運算子 ``:=`` 來在運算式中指派變數值:\n"
294294
"\n"
295295
"::"
296296

glossary.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
11+
"POT-Creation-Date: 2022-10-31 08:13+0000\n"
1212
"PO-Revision-Date: 2022-10-23 20:00+0800\n"
1313
"Last-Translator: Steven Hsu <[email protected]>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1985,7 +1985,7 @@ msgstr "package(套件)"
19851985
#: ../../glossary.rst:884
19861986
msgid ""
19871987
"A Python :term:`module` which can contain submodules or recursively, "
1988-
"subpackages. Technically, a package is a Python module with an ``__path__`` "
1988+
"subpackages. Technically, a package is a Python module with a ``__path__`` "
19891989
"attribute."
19901990
msgstr ""
19911991
"一個 Python 的 :term:`module`\\ (模組),它可以包含子模組 (submodule) 或是遞"

0 commit comments

Comments
 (0)