Skip to content

Commit 79ede24

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.10 (python#143)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt.Wang <[email protected]>
1 parent d52bda3 commit 79ede24

File tree

341 files changed

+3978
-3560
lines changed

Some content is hidden

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

341 files changed

+3978
-3560
lines changed

c-api/arg.po

+71-65
Large diffs are not rendered by default.

c-api/buffer.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ msgstr ""
423423
#: ../../c-api/buffer.rst:333 ../../c-api/buffer.rst:335
424424
#: ../../c-api/buffer.rst:337
425425
msgid "NULL"
426-
msgstr ""
426+
msgstr "NULL"
427427

428428
#: ../../c-api/buffer.rst:287
429429
msgid "contiguity requests"

c-api/bytes.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ msgstr ":attr:`%ld`"
137137

138138
#: ../../c-api/bytes.rst:81
139139
msgid "long"
140-
msgstr ""
140+
msgstr "long"
141141

142142
#: ../../c-api/bytes.rst:81
143143
msgid "Equivalent to ``printf(\"%ld\")``. [1]_"

c-api/call.po

+6-6
Original file line numberDiff line numberDiff line change
@@ -267,19 +267,19 @@ msgstr ""
267267

268268
#: ../../c-api/call.rst:195
269269
msgid "Function"
270-
msgstr ""
270+
msgstr "函式"
271271

272272
#: ../../c-api/call.rst:195
273273
msgid "callable"
274-
msgstr ""
274+
msgstr "callable"
275275

276276
#: ../../c-api/call.rst:195
277277
msgid "args"
278-
msgstr ""
278+
msgstr "args"
279279

280280
#: ../../c-api/call.rst:195
281281
msgid "kwargs"
282-
msgstr ""
282+
msgstr "kwargs"
283283

284284
#: ../../c-api/call.rst:197
285285
msgid ":c:func:`PyObject_Call`"
@@ -339,7 +339,7 @@ msgstr ":c:func:`PyObject_CallMethod`"
339339

340340
#: ../../c-api/call.rst:207
341341
msgid "obj + ``char*``"
342-
msgstr ""
342+
msgstr "物件 + ``char*``"
343343

344344
#: ../../c-api/call.rst:209
345345
msgid ":c:func:`PyObject_CallFunctionObjArgs`"
@@ -355,7 +355,7 @@ msgstr ":c:func:`PyObject_CallMethodObjArgs`"
355355

356356
#: ../../c-api/call.rst:211 ../../c-api/call.rst:213 ../../c-api/call.rst:215
357357
msgid "obj + name"
358-
msgstr ""
358+
msgstr "物件 + 名稱"
359359

360360
#: ../../c-api/call.rst:213
361361
msgid ":c:func:`PyObject_CallMethodNoArgs`"

c-api/concrete.po

+5-5
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ msgstr ""
4343

4444
#: ../../c-api/concrete.rst:28
4545
msgid "Fundamental Objects"
46-
msgstr ""
46+
msgstr "基礎物件"
4747

4848
#: ../../c-api/concrete.rst:30
4949
msgid ""
@@ -52,11 +52,11 @@ msgstr ""
5252

5353
#: ../../c-api/concrete.rst:41
5454
msgid "Numeric Objects"
55-
msgstr ""
55+
msgstr "數值物件"
5656

5757
#: ../../c-api/concrete.rst:56
5858
msgid "Sequence Objects"
59-
msgstr ""
59+
msgstr "序列物件"
6060

6161
#: ../../c-api/concrete.rst:60
6262
msgid ""
@@ -67,12 +67,12 @@ msgstr ""
6767

6868
#: ../../c-api/concrete.rst:78
6969
msgid "Container Objects"
70-
msgstr ""
70+
msgstr "容器物件"
7171

7272
#: ../../c-api/concrete.rst:91
7373
msgid "Function Objects"
7474
msgstr "函式物件"
7575

7676
#: ../../c-api/concrete.rst:102
7777
msgid "Other Objects"
78-
msgstr ""
78+
msgstr "其他物件"

c-api/coro.po

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

2121
#: ../../c-api/coro.rst:6
2222
msgid "Coroutine Objects"
23-
msgstr ""
23+
msgstr "協程物件"
2424

2525
#: ../../c-api/coro.rst:10
2626
msgid ""

c-api/dict.po

+3
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ msgstr ""
198198
#: ../../c-api/dict.rst:176
199199
msgid "For example::"
200200
msgstr ""
201+
"舉例來說:\n"
202+
"\n"
203+
"::"
201204

202205
#: ../../c-api/dict.rst:186
203206
msgid ""

c-api/exceptions.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ msgstr ""
237237
#: ../../c-api/exceptions.rst:217 ../../c-api/exceptions.rst:225
238238
#: ../../c-api/exceptions.rst:234 ../../c-api/exceptions.rst:243
239239
msgid ":ref:`Availability <availability>`: Windows."
240-
msgstr ""
240+
msgstr ":ref:`適用 <availability>`:Windows。"
241241

242242
#: ../../c-api/exceptions.rst:205
243243
msgid ""

c-api/import.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ msgstr ""
215215

216216
#: ../../c-api/import.rst:190
217217
msgid "Return value of ``-1`` upon failure."
218-
msgstr ""
218+
msgstr "當失敗時回傳 ``-1``。"
219219

220220
#: ../../c-api/import.rst:196
221221
msgid ""

c-api/init.po

+2-17
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ msgstr ""
304304

305305
#: ../../c-api/init.rst:163 ../../c-api/init.rst:175
306306
msgid ":ref:`Availability <availability>`: Windows."
307-
msgstr ""
307+
msgstr ":ref:`適用 <availability>`:Windows。"
308308

309309
#: ../../c-api/init.rst:167
310310
msgid ""
@@ -1281,7 +1281,7 @@ msgstr ""
12811281
#: ../../c-api/init.rst:1121 ../../c-api/init.rst:1130
12821282
#: ../../c-api/init.rst:1139
12831283
msgid "*tstate* must not be ``NULL``."
1284-
msgstr ""
1284+
msgstr "*tstate* 不可為 ``NULL``。"
12851285

12861286
#: ../../c-api/init.rst:1128
12871287
msgid ""
@@ -2039,18 +2039,3 @@ msgid ""
20392039
"Due to the compatibility problem noted above, this version of the API should "
20402040
"not be used in new code."
20412041
msgstr ""
2042-
2043-
#~ msgid "0"
2044-
#~ msgstr "0"
2045-
2046-
#~ msgid "1"
2047-
#~ msgstr "1"
2048-
2049-
#~ msgid "2"
2050-
#~ msgstr "2"
2051-
2052-
#~ msgid "4"
2053-
#~ msgstr "4"
2054-
2055-
#~ msgid "8"
2056-
#~ msgstr "8"

c-api/init_config.po

+20-17
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ msgstr ""
6666

6767
#: ../../c-api/init_config.rst:37
6868
msgid "Example"
69-
msgstr ""
69+
msgstr "範例"
7070

7171
#: ../../c-api/init_config.rst:39
7272
msgid "Example of customized Python always running in isolated mode::"
7373
msgstr ""
7474

7575
#: ../../c-api/init_config.rst:76
7676
msgid "PyWideStringList"
77-
msgstr ""
77+
msgstr "PyWideStringList"
7878

7979
#: ../../c-api/init_config.rst:80
8080
msgid "List of ``wchar_t*`` strings."
@@ -127,7 +127,7 @@ msgstr ""
127127

128128
#: ../../c-api/init_config.rst:115
129129
msgid "PyStatus"
130-
msgstr ""
130+
msgstr "PyStatus"
131131

132132
#: ../../c-api/init_config.rst:119
133133
msgid ""
@@ -144,7 +144,7 @@ msgstr ""
144144

145145
#: ../../c-api/init_config.rst:132
146146
msgid "Error message."
147-
msgstr ""
147+
msgstr "錯誤訊息。"
148148

149149
#: ../../c-api/init_config.rst:136
150150
msgid "Name of the function which created an error, can be ``NULL``."
@@ -164,7 +164,7 @@ msgstr ""
164164

165165
#: ../../c-api/init_config.rst:148
166166
msgid "*err_msg* must not be ``NULL``."
167-
msgstr ""
167+
msgstr "*err_msg* 不可為 ``NULL``。"
168168

169169
#: ../../c-api/init_config.rst:152
170170
msgid "Memory allocation failure (out of memory)."
@@ -208,10 +208,13 @@ msgstr ""
208208
#: ../../c-api/init_config.rst:183
209209
msgid "Example::"
210210
msgstr ""
211+
"範例:\n"
212+
"\n"
213+
"::"
211214

212215
#: ../../c-api/init_config.rst:207
213216
msgid "PyPreConfig"
214-
msgstr ""
217+
msgstr "PyPreConfig"
215218

216219
#: ../../c-api/init_config.rst:211
217220
msgid "Structure used to preinitialize Python."
@@ -286,11 +289,11 @@ msgstr ""
286289

287290
#: ../../c-api/init_config.rst:251
288291
msgid "See :ref:`Memory Management <memory>`."
289-
msgstr ""
292+
msgstr "請見\\ :ref:`記憶體管理 <memory>`\\"
290293

291294
#: ../../c-api/init_config.rst:253
292295
msgid "Default: ``PYMEM_ALLOCATOR_NOT_SET``."
293-
msgstr ""
296+
msgstr "預設:\\ ``PYMEM_ALLOCATOR_NOT_SET``\\"
294297

295298
#: ../../c-api/init_config.rst:257
296299
msgid "Set the LC_CTYPE locale to the user preferred locale?"
@@ -304,7 +307,7 @@ msgstr ""
304307

305308
#: ../../c-api/init_config.rst:262 ../../c-api/init_config.rst:273
306309
msgid "See the :term:`locale encoding`."
307-
msgstr ""
310+
msgstr "請見 :term:`locale encoding`\\"
308311

309312
#: ../../c-api/init_config.rst:264 ../../c-api/init_config.rst:319
310313
#: ../../c-api/init_config.rst:627
@@ -349,19 +352,19 @@ msgstr ""
349352

350353
#: ../../c-api/init_config.rst:298
351354
msgid "If non-zero:"
352-
msgstr ""
355+
msgstr "如果不為 0:"
353356

354357
#: ../../c-api/init_config.rst:300
355358
msgid "Set :c:member:`PyPreConfig.utf8_mode` to ``0``,"
356-
msgstr ""
359+
msgstr "將 :c:member:`PyPreConfig.utf8_mode` 設為 ``0``\\"
357360

358361
#: ../../c-api/init_config.rst:301
359362
msgid "Set :c:member:`PyConfig.filesystem_encoding` to ``\"mbcs\"``,"
360-
msgstr ""
363+
msgstr "將 :c:member:`PyConfig.filesystem_encoding` 設為 ``\"mbcs\"``\\"
361364

362365
#: ../../c-api/init_config.rst:302
363366
msgid "Set :c:member:`PyConfig.filesystem_errors` to ``\"replace\"``."
364-
msgstr ""
367+
msgstr "將 :c:member:`PyConfig.filesystem_errors` 設為 ``\"replace\"``\\"
365368

366369
#: ../../c-api/init_config.rst:304
367370
msgid ""
@@ -384,7 +387,7 @@ msgstr ""
384387
#: ../../c-api/init_config.rst:1029 ../../c-api/init_config.rst:1058
385388
#: ../../c-api/init_config.rst:1129
386389
msgid "Default: ``0``."
387-
msgstr ""
390+
msgstr "預設:\\ ``0``。"
388391

389392
#: ../../c-api/init_config.rst:314
390393
msgid ""
@@ -458,7 +461,7 @@ msgstr ""
458461
#: ../../c-api/init_config.rst:359 ../../c-api/init_config.rst:368
459462
#: ../../c-api/init_config.rst:377
460463
msgid "*preconfig* must not be ``NULL``."
461-
msgstr ""
464+
msgstr "*preconfig* 不可為 ``NULL``。"
462465

463466
#: ../../c-api/init_config.rst:365
464467
msgid ""
@@ -512,7 +515,7 @@ msgstr ""
512515

513516
#: ../../c-api/init_config.rst:421
514517
msgid "PyConfig"
515-
msgstr ""
518+
msgstr "PyConfig"
516519

517520
#: ../../c-api/init_config.rst:425
518521
msgid "Structure containing most parameters to configure Python."
@@ -770,7 +773,7 @@ msgstr ""
770773

771774
#: ../../c-api/init_config.rst:612
772775
msgid "Default: ``L\"default\"``."
773-
msgstr ""
776+
msgstr "預設:\\ ``L\"default\"``。"
774777

775778
#: ../../c-api/init_config.rst:614
776779
msgid "See also :pep:`552` \"Deterministic pycs\"."

c-api/intro.po

+5-2
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ msgstr ""
186186

187187
#: ../../c-api/intro.rst:132
188188
msgid "Return the absolute value of ``x``."
189-
msgstr ""
189+
msgstr "回傳 ``x`` 的絕對值。"
190190

191191
#: ../../c-api/intro.rst:138
192192
msgid "Return the minimum value between ``x`` and ``y``."
@@ -233,6 +233,9 @@ msgstr ""
233233
#: ../../c-api/intro.rst:216
234234
msgid "Example::"
235235
msgstr ""
236+
"範例:\n"
237+
"\n"
238+
"::"
236239

237240
#: ../../c-api/intro.rst:187
238241
msgid "MSVC support was added."
@@ -498,7 +501,7 @@ msgstr ""
498501

499502
#: ../../c-api/intro.rst:509
500503
msgid "Exceptions"
501-
msgstr ""
504+
msgstr "例外"
502505

503506
#: ../../c-api/intro.rst:511
504507
msgid ""

c-api/memory.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ msgstr ""
618618
#: ../../c-api/memory.rst:434 ../../c-api/memory.rst:443
619619
#: ../../c-api/memory.rst:452
620620
msgid "Functions:"
621-
msgstr ""
621+
msgstr "函式:"
622622

623623
#: ../../c-api/memory.rst:436
624624
msgid ":c:func:`PyMem_RawMalloc`"
@@ -997,7 +997,7 @@ msgstr ""
997997

998998
#: ../../c-api/memory.rst:669
999999
msgid "Examples"
1000-
msgstr ""
1000+
msgstr "範例"
10011001

10021002
#: ../../c-api/memory.rst:671
10031003
msgid ""

c-api/memoryview.po

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

2121
#: ../../c-api/memoryview.rst:9
2222
msgid "MemoryView objects"
23-
msgstr ""
23+
msgstr "MemoryView 物件"
2424

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

c-api/module.po

+4-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ msgstr ""
5252

5353
#: ../../c-api/module.rst:48
5454
msgid ":attr:`__package__` and :attr:`__loader__` are set to ``None``."
55-
msgstr ""
55+
msgstr ":attr:`__package__` 和 :attr:`__loader__` 被設為 ``None``。"
5656

5757
#: ../../c-api/module.rst:54
5858
msgid ""
@@ -518,6 +518,9 @@ msgstr ""
518518
#: ../../c-api/module.rst:457 ../../c-api/module.rst:506
519519
msgid "Example usage::"
520520
msgstr ""
521+
"用法範例:\n"
522+
"\n"
523+
"::"
521524

522525
#: ../../c-api/module.rst:471 ../../c-api/module.rst:524
523526
msgid ""

c-api/none.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ msgstr ""
2121

2222
#: ../../c-api/none.rst:6
2323
msgid "The ``None`` Object"
24-
msgstr ""
24+
msgstr "``None`` 物件"
2525

2626
#: ../../c-api/none.rst:10
2727
msgid ""

0 commit comments

Comments
 (0)