Skip to content

Commit cd1883e

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.11 (#411)
* sync with cpython d9aafe24 * sync with cpython c0b538b0 * sync with cpython 294398c1 * sync with cpython fee3c91a * sync with cpython 86ef1ce1 * sync with cpython 10db28bf * sync with cpython 5386730c * sync with cpython 365e0772 * sync with cpython b7622e7a * sync with cpython 2fa14d47 * sync with cpython 846a23d0 * sync with cpython 70550885 * sync with cpython b87ccc38 * sync with cpython 1afc0a95 * sync with cpython a712c5f4 * sync with cpython dece9c06 * sync with cpython a8fc8b7e * sync with cpython 2801b3f8 * sync with cpython d45c1df8 * sync with cpython d691de1d * sync with cpython be20e9c6 * sync with cpython 3b3f2e10 * sync with cpython a6326972 * sync with cpython d34e58a1 * sync with cpython c39500db * sync with cpython 3b0747af * sync with cpython 8de607ab * sync with cpython aca77b55 * sync with cpython faae548e * sync with cpython acf3916e * sync with cpython c3b8f9d0 * sync with cpython 4ceb5c49 * sync with cpython aaa8a493 * sync with cpython e5fe0171 * sync with cpython ab054688 * sync with cpython c0c41868 * sync with cpython 69e2da02 * sync with cpython 043c8313 * sync with cpython 8bb16f66 * fix: resolve fuzzy entries in c-api * fix: resolve the rest fuzzy entries * fix: resolve fuzzy entries in tutorial * fix: resolve fuzzy entries in reference * fix: resolve fuzzy entries in whatsnew * fix: resolve fuzzy entries in library --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt Wang <[email protected]>
1 parent f6a76b1 commit cd1883e

File tree

234 files changed

+15863
-7615
lines changed

Some content is hidden

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

234 files changed

+15863
-7615
lines changed

c-api/buffer.po

Lines changed: 33 additions & 1 deletion
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: 2023-05-09 00:15+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:30+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -686,3 +686,35 @@ msgid ""
686686
"*exporter* MUST be set to the exporting object and *flags* must be passed "
687687
"unmodified. Otherwise, *exporter* MUST be ``NULL``."
688688
msgstr ""
689+
690+
#: ../../c-api/buffer.rst:3
691+
msgid "buffer protocol"
692+
msgstr "buffer protocol(緩衝協定)"
693+
694+
#: ../../c-api/buffer.rst:3
695+
msgid "buffer interface"
696+
msgstr "buffer interface(緩衝介面)"
697+
698+
#: ../../c-api/buffer.rst:3
699+
msgid "(see buffer protocol)"
700+
msgstr "(請見緩衝協定)"
701+
702+
#: ../../c-api/buffer.rst:3
703+
msgid "buffer object"
704+
msgstr "buffer object(緩衝物件)"
705+
706+
#: ../../c-api/buffer.rst:32
707+
msgid "PyBufferProcs"
708+
msgstr "PyBufferProcs"
709+
710+
#: ../../c-api/buffer.rst:284
711+
msgid "contiguous"
712+
msgstr "contiguous(連續的)"
713+
714+
#: ../../c-api/buffer.rst:284
715+
msgid "C-contiguous"
716+
msgstr "C-contiguous(C 連續的)"
717+
718+
#: ../../c-api/buffer.rst:284
719+
msgid "Fortran contiguous"
720+
msgstr "Fortran contiguous(Fortran 連續的)"

c-api/bytearray.po

Lines changed: 11 additions & 3 deletions
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: 2023-05-09 00:15+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-"
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../c-api/bytearray.rst:6
2222
msgid "Byte Array Objects"
23-
msgstr ""
23+
msgstr "位元組串列物件 (Byte Array Objects)"
2424

2525
#: ../../c-api/bytearray.rst:13
2626
msgid ""
@@ -86,7 +86,7 @@ msgstr ""
8686

8787
#: ../../c-api/bytearray.rst:74
8888
msgid "Macros"
89-
msgstr ""
89+
msgstr "巨集"
9090

9191
#: ../../c-api/bytearray.rst:76
9292
msgid "These macros trade safety for speed and they don't check pointers."
@@ -99,3 +99,11 @@ msgstr ""
9999
#: ../../c-api/bytearray.rst:85
100100
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
101101
msgstr ""
102+
103+
#: ../../c-api/bytearray.rst:8
104+
msgid "object"
105+
msgstr "object(物件)"
106+
107+
#: ../../c-api/bytearray.rst:8
108+
msgid "bytearray"
109+
msgstr "bytearray(位元組串列)"

c-api/bytes.po

Lines changed: 15 additions & 7 deletions
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: 2023-05-09 00:15+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:04+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/bytes.rst:6
2222
msgid "Bytes Objects"
23-
msgstr ""
23+
msgstr "位元組物件 (Bytes Objects)"
2424

2525
#: ../../c-api/bytes.rst:8
2626
msgid ""
@@ -217,9 +217,9 @@ msgstr "const void\\*"
217217

218218
#: ../../c-api/bytes.rst:102
219219
msgid ""
220-
"The hex representation of a C pointer. Mostly equivalent to ``printf(\"%p"
221-
"\")`` except that it is guaranteed to start with the literal ``0x`` "
222-
"regardless of what the platform's ``printf`` yields."
220+
"The hex representation of a C pointer. Mostly equivalent to "
221+
"``printf(\"%p\")`` except that it is guaranteed to start with the literal "
222+
"``0x`` regardless of what the platform's ``printf`` yields."
223223
msgstr ""
224224

225225
#: ../../c-api/bytes.rst:111
@@ -323,7 +323,15 @@ msgid ""
323323
"address of an existing bytes object as an lvalue (it may be written into), "
324324
"and the new size desired. On success, *\\*bytes* holds the resized bytes "
325325
"object and ``0`` is returned; the address in *\\*bytes* may differ from its "
326-
"input value. If the reallocation fails, the original bytes object at *"
327-
"\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
326+
"input value. If the reallocation fails, the original bytes object at "
327+
"*\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
328328
"is set, and ``-1`` is returned."
329329
msgstr ""
330+
331+
#: ../../c-api/bytes.rst:11
332+
msgid "object"
333+
msgstr "object(物件)"
334+
335+
#: ../../c-api/bytes.rst:11
336+
msgid "bytes"
337+
msgstr "bytes(位元組)"

c-api/capsule.po

Lines changed: 9 additions & 1 deletion
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: 2023-05-09 00:15+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:30+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -202,3 +202,11 @@ msgid ""
202202
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
203203
"``NULL``."
204204
msgstr ""
205+
206+
#: ../../c-api/capsule.rst:8
207+
msgid "object"
208+
msgstr "object(物件)"
209+
210+
#: ../../c-api/capsule.rst:8
211+
msgid "Capsule"
212+
msgstr "Capsule"

c-api/code.po

Lines changed: 13 additions & 1 deletion
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: 2023-02-05 00:18+0000\n"
10+
"POT-Creation-Date: 2023-05-09 00:15+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-"
@@ -140,3 +140,15 @@ msgid ""
140140
"reference to a :c:type:`PyTupleObject` containing the names of the free "
141141
"variables. On error, ``NULL`` is returned and an exception is raised."
142142
msgstr ""
143+
144+
#: ../../c-api/code.rst:3
145+
msgid "object"
146+
msgstr "object(物件)"
147+
148+
#: ../../c-api/code.rst:3
149+
msgid "code"
150+
msgstr "code(程式碼)"
151+
152+
#: ../../c-api/code.rst:3
153+
msgid "code object"
154+
msgstr "code object(程式碼物件)"

c-api/complex.po

Lines changed: 10 additions & 2 deletions
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-06 00:23+0000\n"
10+
"POT-Creation-Date: 2023-05-09 00:15+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-"
@@ -158,4 +158,12 @@ msgstr ""
158158

159159
#: ../../c-api/complex.rst:137
160160
msgid "Use :meth:`__index__` if available."
161-
msgstr ""
161+
msgstr "如果可用則會使用 :meth:`__index__`。"
162+
163+
#: ../../c-api/complex.rst:8
164+
msgid "object"
165+
msgstr "object(物件)"
166+
167+
#: ../../c-api/complex.rst:8
168+
msgid "complex number"
169+
msgstr "complex number(複數)"

c-api/concrete.po

Lines changed: 19 additions & 2 deletions
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: 2023-05-09 00:15+0000\n"
1212
"PO-Revision-Date: 2022-11-13 20:37+0800\n"
1313
"Last-Translator: Matt Wang <[email protected]>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -46,7 +46,7 @@ msgid ""
4646
"can cause memory access violations and immediate termination of the "
4747
"interpreter."
4848
msgstr ""
49-
"雖然本章所述之函式仔細地檢查了傳入物件的型別,但大多並無檢查是否為 `NULL``。"
49+
"雖然本章所述之函式仔細地檢查了傳入物件的型別,但大多並無檢查是否為 ``NULL``。"
5050
"允許 ``NULL`` 的傳入可能造成記憶體的不合法存取和直譯器的立即中止。"
5151

5252
#: ../../c-api/concrete.rst:28
@@ -86,3 +86,20 @@ msgstr "函式物件"
8686
#: ../../c-api/concrete.rst:102
8787
msgid "Other Objects"
8888
msgstr "其他物件"
89+
90+
#: ../../c-api/concrete.rst:43 ../../c-api/concrete.rst:58
91+
#: ../../c-api/concrete.rst:80
92+
msgid "object"
93+
msgstr "object(物件)"
94+
95+
#: ../../c-api/concrete.rst:43
96+
msgid "numeric"
97+
msgstr "numeric(數值)"
98+
99+
#: ../../c-api/concrete.rst:58
100+
msgid "sequence"
101+
msgstr "sequence(序列)"
102+
103+
#: ../../c-api/concrete.rst:80
104+
msgid "mapping"
105+
msgstr "mapping(對映)"

c-api/conversion.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ msgstr "字串轉換與格式化"
2626

2727
#: ../../c-api/conversion.rst:8
2828
msgid "Functions for number conversion and formatted string output."
29-
msgstr "數字轉換函數和被格式化的字串輸出。"
29+
msgstr "數字轉換函式和被格式化的字串輸出。"
3030

3131
#: ../../c-api/conversion.rst:13
3232
msgid ""
@@ -63,7 +63,7 @@ msgstr ""
6363
#: ../../c-api/conversion.rst:34
6464
msgid ""
6565
"The return value (*rv*) for these functions should be interpreted as follows:"
66-
msgstr "當回傳值 (*rv*) 給這些函數應該被編譯如下:"
66+
msgstr "當回傳值 (*rv*) 給這些函式應該被編譯如下:"
6767

6868
#: ../../c-api/conversion.rst:36
6969
msgid ""

c-api/dict.po

Lines changed: 21 additions & 1 deletion
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: 2023-02-15 00:17+0000\n"
12+
"POT-Creation-Date: 2023-05-09 00:15+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-"
@@ -237,3 +237,23 @@ msgid ""
237237
"*override* is true, else the first wins. Return ``0`` on success or ``-1`` "
238238
"if an exception was raised. Equivalent Python (except for the return value)::"
239239
msgstr ""
240+
241+
#: ../../c-api/dict.rst:8
242+
msgid "object"
243+
msgstr "object(物件)"
244+
245+
#: ../../c-api/dict.rst:8
246+
msgid "dictionary"
247+
msgstr "dictionary(字典)"
248+
249+
#: ../../c-api/dict.rst:73
250+
msgid "PyUnicode_FromString()"
251+
msgstr "PyUnicode_FromString()"
252+
253+
#: ../../c-api/dict.rst:157
254+
msgid "built-in function"
255+
msgstr "built-in function(內建函式)"
256+
257+
#: ../../c-api/dict.rst:157
258+
msgid "len"
259+
msgstr "len"

0 commit comments

Comments
 (0)