Skip to content

Commit aa5446e

Browse files
Sync with CPython 3.12 (#877)
1 parent c79e8b2 commit aa5446e

File tree

268 files changed

+3237
-3073
lines changed

Some content is hidden

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

268 files changed

+3237
-3073
lines changed

.scripts/poetry.lock

+168-90
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

c-api/contextvars.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgstr ""
1717

1818
#: ../../c-api/contextvars.rst:6
1919
msgid "Context Variables Objects"
20-
msgstr ""
20+
msgstr "情境變數物件"
2121

2222
#: ../../c-api/contextvars.rst:15
2323
msgid ""

c-api/gcsupport.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../c-api/gcsupport.rst:6
2222
msgid "Supporting Cyclic Garbage Collection"
23-
msgstr ""
23+
msgstr "循環垃圾回收的支援"
2424

2525
#: ../../c-api/gcsupport.rst:8
2626
msgid ""

c-api/init.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ msgstr ""
2626

2727
#: ../../c-api/init.rst:10
2828
msgid "See also :ref:`Python Initialization Configuration <init-config>`."
29-
msgstr ""
29+
msgstr "也請參見 :ref:`Python 初始化設定 <init-config>`。"
3030

3131
#: ../../c-api/init.rst:15
3232
msgid "Before Python Initialization"
33-
msgstr ""
33+
msgstr "Python 初始化之前"
3434

3535
#: ../../c-api/init.rst:17
3636
msgid ""

c-api/init_config.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../c-api/init_config.rst:7
2222
msgid "Python Initialization Configuration"
23-
msgstr ""
23+
msgstr "Python 初始化設定"
2424

2525
#: ../../c-api/init_config.rst:11
2626
msgid ""

c-api/mapping.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../c-api/mapping.rst:6
2222
msgid "Mapping Protocol"
23-
msgstr ""
23+
msgstr "對映協定"
2424

2525
#: ../../c-api/mapping.rst:8
2626
msgid ""

c-api/marshal.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../c-api/marshal.rst:6
2222
msgid "Data marshalling support"
23-
msgstr ""
23+
msgstr "資料 marshal 的支援"
2424

2525
#: ../../c-api/marshal.rst:8
2626
msgid ""

c-api/number.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../c-api/number.rst:6
2222
msgid "Number Protocol"
23-
msgstr ""
23+
msgstr "數字協定"
2424

2525
#: ../../c-api/number.rst:11
2626
msgid ""

c-api/object.po

+4-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-02-05 00:03+0000\n"
10+
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:32+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../c-api/object.rst:6
2222
msgid "Object Protocol"
23-
msgstr ""
23+
msgstr "物件協定"
2424

2525
#: ../../c-api/object.rst:11
2626
msgid ""
@@ -31,8 +31,8 @@ msgstr ""
3131
#: ../../c-api/object.rst:17
3232
msgid ""
3333
"Properly handle returning :c:data:`Py_NotImplemented` from within a C "
34-
"function (that is, create a new :term:`strong reference` to NotImplemented "
35-
"and return it)."
34+
"function (that is, create a new :term:`strong reference` to :const:"
35+
"`NotImplemented` and return it)."
3636
msgstr ""
3737

3838
#: ../../c-api/object.rst:24

c-api/sequence.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../c-api/sequence.rst:6
2222
msgid "Sequence Protocol"
23-
msgstr ""
23+
msgstr "序列協定"
2424

2525
#: ../../c-api/sequence.rst:11
2626
msgid ""

c-api/type.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgstr ""
1919

2020
#: ../../c-api/type.rst:6
2121
msgid "Type Objects"
22-
msgstr ""
22+
msgstr "型別物件"
2323

2424
#: ../../c-api/type.rst:13
2525
msgid "The C structure of the objects used to describe built-in types."

c-api/unicode.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ msgstr "Unicode 物件與編解碼器"
2626

2727
#: ../../c-api/unicode.rst:12
2828
msgid "Unicode Objects"
29-
msgstr ""
29+
msgstr "Unicode 物件"
3030

3131
#: ../../c-api/unicode.rst:14
3232
msgid ""

extending/windows.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../extending/windows.rst:8
2222
msgid "Building C and C++ Extensions on Windows"
23-
msgstr ""
23+
msgstr "建置 Windows 上的 C 和 C++ 擴充"
2424

2525
#: ../../extending/windows.rst:10
2626
msgid ""

howto/isolating-extensions.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ msgstr ""
1919

2020
#: ../../howto/isolating-extensions.rst:7
2121
msgid "Isolating Extension Modules"
22-
msgstr ""
22+
msgstr "隔離擴充模組"
2323

2424
#: ../../howto/isolating-extensions.rst:-1
2525
msgid "Abstract"
26-
msgstr ""
26+
msgstr "摘要"
2727

2828
#: ../../howto/isolating-extensions.rst:11
2929
msgid ""
@@ -53,7 +53,7 @@ msgstr ""
5353

5454
#: ../../howto/isolating-extensions.rst:31
5555
msgid "Background"
56-
msgstr ""
56+
msgstr "背景"
5757

5858
#: ../../howto/isolating-extensions.rst:33
5959
msgid ""

howto/mro.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ msgstr ""
3434

3535
#: ../../howto/mro.rst:0
3636
msgid "Abstract"
37-
msgstr ""
37+
msgstr "摘要"
3838

3939
#: ../../howto/mro.rst:17
4040
msgid ""

howto/urllib2.po

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-01-15 00:03+0000\n"
11+
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
1212
"PO-Revision-Date: 2022-06-27 09:36+0800\n"
1313
"Last-Translator: Adrian Liaw <[email protected]>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -588,7 +588,8 @@ msgstr ""
588588
#: ../../howto/urllib2.rst:596
589589
msgid ""
590590
"urllib opener for SSL proxy (CONNECT method): `ASPN Cookbook Recipe <https://"
591-
"code.activestate.com/recipes/456195/>`_."
591+
"code.activestate.com/recipes/456195-urrlib2-opener-for-ssl-proxy-connect-"
592+
"method/>`_."
592593
msgstr ""
593594

594595
#~ msgid ""

library/__future__.po

+3-3
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-04-18 00:04+0000\n"
10+
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
1111
"PO-Revision-Date: 2024-02-06 02:12+0000\n"
1212
"Last-Translator: Matt Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -19,8 +19,8 @@ msgstr ""
1919
"Plural-Forms: nplurals=1; plural=0;\n"
2020

2121
#: ../../library/__future__.rst:2
22-
msgid ":mod:`__future__` --- Future statement definitions"
23-
msgstr ":mod:`__future__` --- Future 陳述式定義"
22+
msgid ":mod:`!__future__` --- Future statement definitions"
23+
msgstr ":mod:`!__future__` --- Future 陳述式定義"
2424

2525
#: ../../library/__future__.rst:7
2626
msgid "**Source code:** :source:`Lib/__future__.py`"

library/__main__.po

+3-3
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: 2023-10-11 17:13+0000\n"
10+
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
1111
"PO-Revision-Date: 2023-12-21 14:49+0800\n"
1212
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -20,8 +20,8 @@ msgstr ""
2020
"X-Generator: Poedit 3.4\n"
2121

2222
#: ../../library/__main__.rst:2
23-
msgid ":mod:`__main__` --- Top-level code environment"
24-
msgstr ":mod:`__main__` --- 頂層程式碼環境"
23+
msgid ":mod:`!__main__` --- Top-level code environment"
24+
msgstr ":mod:`!__main__` --- 頂層程式碼環境"
2525

2626
#: ../../library/__main__.rst:10
2727
msgid ""

library/_thread.po

+6-6
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: 2023-07-24 00:03+0000\n"
10+
"POT-Creation-Date: 2024-05-09 00:03+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-"
@@ -19,8 +19,8 @@ msgstr ""
1919
"Plural-Forms: nplurals=1; plural=0;\n"
2020

2121
#: ../../library/_thread.rst:2
22-
msgid ":mod:`_thread` --- Low-level threading API"
23-
msgstr ""
22+
msgid ":mod:`!_thread` --- Low-level threading API"
23+
msgstr ":mod:`!_thread` --- 低階執行緒 API"
2424

2525
#: ../../library/_thread.rst:15
2626
msgid ""
@@ -203,8 +203,8 @@ msgstr ""
203203
#: ../../library/_thread.rst:168
204204
msgid ""
205205
"If the *blocking* argument is present, the action depends on its value: if "
206-
"it is False, the lock is only acquired if it can be acquired immediately "
207-
"without waiting, while if it is True, the lock is acquired unconditionally "
206+
"it is false, the lock is only acquired if it can be acquired immediately "
207+
"without waiting, while if it is true, the lock is acquired unconditionally "
208208
"as above."
209209
msgstr ""
210210

@@ -213,7 +213,7 @@ msgid ""
213213
"If the floating-point *timeout* argument is present and positive, it "
214214
"specifies the maximum wait time in seconds before returning. A negative "
215215
"*timeout* argument specifies an unbounded wait. You cannot specify a "
216-
"*timeout* if *blocking* is False."
216+
"*timeout* if *blocking* is false."
217217
msgstr ""
218218

219219
#: ../../library/_thread.rst:178

library/abc.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.12\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2024-03-01 00:03+0000\n"
12+
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
1313
"PO-Revision-Date: 2022-11-16 03:29+0800\n"
1414
"Last-Translator: Matt Wang <[email protected]>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -22,8 +22,8 @@ msgstr ""
2222
"X-Generator: Poedit 3.2\n"
2323

2424
#: ../../library/abc.rst:2
25-
msgid ":mod:`abc` --- Abstract Base Classes"
26-
msgstr ":mod:`abc` --- 抽象基底類別"
25+
msgid ":mod:`!abc` --- Abstract Base Classes"
26+
msgstr ":mod:`!abc` --- 抽象基底類別"
2727

2828
#: ../../library/abc.rst:11
2929
msgid "**Source code:** :source:`Lib/abc.py`"

library/argparse.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-01-24 00:03+0000\n"
10+
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../library/argparse.rst:2
2222
msgid ""
23-
":mod:`argparse` --- Parser for command-line options, arguments and sub-"
23+
":mod:`!argparse` --- Parser for command-line options, arguments and sub-"
2424
"commands"
2525
msgstr ""
2626

library/array.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-04-18 00:04+0000\n"
14+
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
1515
"PO-Revision-Date: 2021-11-23 18:40+0800\n"
1616
"Last-Translator: Benson Chen <[email protected]>\n"
1717
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -24,8 +24,8 @@ msgstr ""
2424
"X-Generator: Poedit 3.0\n"
2525

2626
#: ../../library/array.rst:2
27-
msgid ":mod:`array` --- Efficient arrays of numeric values"
28-
msgstr ":mod:`array` --- 高效率的數值型陣列"
27+
msgid ":mod:`!array` --- Efficient arrays of numeric values"
28+
msgstr ":mod:`!array` --- 高效率的數值型陣列"
2929

3030
#: ../../library/array.rst:11
3131
msgid ""

library/ast.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-04-20 00:03+0000\n"
9+
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
1010
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -18,8 +18,8 @@ msgstr ""
1818
"Plural-Forms: nplurals=1; plural=0;\n"
1919

2020
#: ../../library/ast.rst:2
21-
msgid ":mod:`ast` --- Abstract Syntax Trees"
22-
msgstr ":mod:`ast` --- 抽象語法樹 (Abstract Syntax Trees)"
21+
msgid ":mod:`!ast` --- Abstract Syntax Trees"
22+
msgstr ":mod:`!ast` --- 抽象語法樹 (Abstract Syntax Trees)"
2323

2424
#: ../../library/ast.rst:14
2525
msgid "**Source code:** :source:`Lib/ast.py`"

library/asyncio-extending.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgstr ""
1919

2020
#: ../../library/asyncio-extending.rst:6
2121
msgid "Extending"
22-
msgstr ""
22+
msgstr "擴充"
2323

2424
#: ../../library/asyncio-extending.rst:8
2525
msgid ""

library/asyncio-protocol.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ msgstr ""
2020

2121
#: ../../library/asyncio-protocol.rst:9
2222
msgid "Transports and Protocols"
23-
msgstr ""
23+
msgstr "傳輸與協定"
2424

2525
#: ../../library/asyncio-protocol.rst:12
2626
msgid "Preface"
27-
msgstr ""
27+
msgstr "前言"
2828

2929
#: ../../library/asyncio-protocol.rst:13
3030
msgid ""

0 commit comments

Comments
 (0)