Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4680b7

Browse files
sync with cpython 08772229
1 parent 06a6c46 commit a4680b7

File tree

3 files changed

+55
-43
lines changed

3 files changed

+55
-43
lines changed

c-api/arg.po

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.13\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2025-03-03 00:15+0000\n"
9+
"POT-Creation-Date: 2025-04-26 00:14+0000\n"
1010
"PO-Revision-Date: 2022-10-16 03:21+0800\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -532,7 +532,7 @@ msgstr "``L`` (:class:`int`) [long long]"
532532
msgid "Convert a Python integer to a C :c:expr:`long long`."
533533
msgstr "將一個 Python 整數轉換成 C 的 :c:expr:`long long`。"
534534

535-
#: ../../c-api/arg.rst:276 ../../c-api/arg.rst:642
535+
#: ../../c-api/arg.rst:276 ../../c-api/arg.rst:644
536536
msgid "``K`` (:class:`int`) [unsigned long long]"
537537
msgstr "``K`` (:class:`int`) [unsigned long long]"
538538

@@ -544,7 +544,7 @@ msgstr ""
544544
"將一個 Python 整數轉換成 C 的 :c:expr:`unsigned long long`,轉換過程無溢位檢"
545545
"查。"
546546

547-
#: ../../c-api/arg.rst:280 ../../c-api/arg.rst:645
547+
#: ../../c-api/arg.rst:280 ../../c-api/arg.rst:647
548548
msgid "``n`` (:class:`int`) [:c:type:`Py_ssize_t`]"
549549
msgstr "``n`` (:class:`int`) [:c:type:`Py_ssize_t`]"
550550

@@ -566,7 +566,7 @@ msgstr ""
566566
msgid "Allow :class:`bytearray` objects."
567567
msgstr "允許 :class:`bytearray` 物件。"
568568

569-
#: ../../c-api/arg.rst:290 ../../c-api/arg.rst:652
569+
#: ../../c-api/arg.rst:290 ../../c-api/arg.rst:654
570570
msgid "``C`` (:class:`str` of length 1) [int]"
571571
msgstr "``C`` (長度為 1 的 :class:`str`) [int]"
572572

@@ -576,15 +576,15 @@ msgid ""
576576
"1, to a C :c:expr:`int`."
577577
msgstr ""
578578

579-
#: ../../c-api/arg.rst:294 ../../c-api/arg.rst:659
579+
#: ../../c-api/arg.rst:294 ../../c-api/arg.rst:661
580580
msgid "``f`` (:class:`float`) [float]"
581581
msgstr "``f`` (:class:`float`) [float]"
582582

583583
#: ../../c-api/arg.rst:295
584584
msgid "Convert a Python floating-point number to a C :c:expr:`float`."
585585
msgstr "將一個 Python 浮點數轉換成 C 的 :c:type::c:expr:`float`。"
586586

587-
#: ../../c-api/arg.rst:297 ../../c-api/arg.rst:656
587+
#: ../../c-api/arg.rst:297 ../../c-api/arg.rst:658
588588
msgid "``d`` (:class:`float`) [double]"
589589
msgstr "``d`` (:class:`float`) [double]"
590590

@@ -604,7 +604,7 @@ msgstr "將一個 Python 複數轉換成 C 的 :c:type:`Py_complex` 結構。"
604604
msgid "Other objects"
605605
msgstr "其他物件"
606606

607-
#: ../../c-api/arg.rst:306 ../../c-api/arg.rst:665
607+
#: ../../c-api/arg.rst:306 ../../c-api/arg.rst:667
608608
msgid "``O`` (object) [PyObject \\*]"
609609
msgstr "``O`` (object) [PyObject \\*]"
610610

@@ -687,7 +687,7 @@ msgid ""
687687
"how Python tests values for truth."
688688
msgstr ""
689689

690-
#: ../../c-api/arg.rst:360 ../../c-api/arg.rst:689
690+
#: ../../c-api/arg.rst:360 ../../c-api/arg.rst:691
691691
msgid "``(items)`` (:class:`tuple`) [*matching-items*]"
692692
msgstr "``(items)`` (:class:`tuple`) [*matching-items*]"
693693

@@ -1110,51 +1110,51 @@ msgstr "將一個 C 的 :c:expr:`unsigned long` 轉換成 Python 整數物件。
11101110
msgid "Convert a C :c:expr:`long long` to a Python integer object."
11111111
msgstr "將一個 C 的 :c:expr:`long long` 轉換成 Python 整數物件。"
11121112

1113-
#: ../../c-api/arg.rst:643
1113+
#: ../../c-api/arg.rst:645
11141114
msgid "Convert a C :c:expr:`unsigned long long` to a Python integer object."
11151115
msgstr "將一個 C 的 :c:expr:`unsigned long long` 轉換成 Python 整數物件。"
11161116

1117-
#: ../../c-api/arg.rst:646
1117+
#: ../../c-api/arg.rst:648
11181118
msgid "Convert a C :c:type:`Py_ssize_t` to a Python integer."
11191119
msgstr "將一個 C 的 :c:type:`Py_ssize_t` 轉換成 Python 整數。"
11201120

1121-
#: ../../c-api/arg.rst:648
1121+
#: ../../c-api/arg.rst:650
11221122
msgid "``c`` (:class:`bytes` of length 1) [char]"
11231123
msgstr "``c`` (長度為 1 的 :class:`bytes`) [char]"
11241124

1125-
#: ../../c-api/arg.rst:649
1125+
#: ../../c-api/arg.rst:651
11261126
msgid ""
11271127
"Convert a C :c:expr:`int` representing a byte to a Python :class:`bytes` "
11281128
"object of length 1."
11291129
msgstr ""
11301130
"將一個 C 中代表一個位元組的 :c:expr:`int` 轉換成 Python 中長度為一的 :class:"
11311131
"`bytes`。"
11321132

1133-
#: ../../c-api/arg.rst:653
1133+
#: ../../c-api/arg.rst:655
11341134
msgid ""
11351135
"Convert a C :c:expr:`int` representing a character to Python :class:`str` "
11361136
"object of length 1."
11371137
msgstr ""
11381138
"將一個 C 中代表一個字元的 :c:expr:`int` 轉換成 Python 中長度為一的 :class:"
11391139
"`str`。"
11401140

1141-
#: ../../c-api/arg.rst:657
1141+
#: ../../c-api/arg.rst:659
11421142
msgid "Convert a C :c:expr:`double` to a Python floating-point number."
11431143
msgstr "將一個 C 的 :c:expr:`double` 轉換成 Python 浮點數。"
11441144

1145-
#: ../../c-api/arg.rst:660
1145+
#: ../../c-api/arg.rst:662
11461146
msgid "Convert a C :c:expr:`float` to a Python floating-point number."
11471147
msgstr "將一個 C 的 :c:expr:`float` 轉換成 Python 浮點數。"
11481148

1149-
#: ../../c-api/arg.rst:662
1149+
#: ../../c-api/arg.rst:664
11501150
msgid "``D`` (:class:`complex`) [Py_complex \\*]"
11511151
msgstr "``D`` (:class:`complex`) [Py_complex \\*]"
11521152

1153-
#: ../../c-api/arg.rst:663
1153+
#: ../../c-api/arg.rst:665
11541154
msgid "Convert a C :c:type:`Py_complex` structure to a Python complex number."
11551155
msgstr "將一個 C 的 :c:type:`Py_complex` 結構轉換成 Python 複數。"
11561156

1157-
#: ../../c-api/arg.rst:666
1157+
#: ../../c-api/arg.rst:668
11581158
msgid ""
11591159
"Pass a Python object untouched but create a new :term:`strong reference` to "
11601160
"it (i.e. its reference count is incremented by one). If the object passed in "
@@ -1164,71 +1164,71 @@ msgid ""
11641164
"no exception has been raised yet, :exc:`SystemError` is set."
11651165
msgstr ""
11661166

1167-
#: ../../c-api/arg.rst:675
1167+
#: ../../c-api/arg.rst:677
11681168
msgid "``S`` (object) [PyObject \\*]"
11691169
msgstr "``S`` (object) [PyObject \\*]"
11701170

1171-
#: ../../c-api/arg.rst:676
1171+
#: ../../c-api/arg.rst:678
11721172
msgid "Same as ``O``."
11731173
msgstr "和 ``O`` 相同。"
11741174

1175-
#: ../../c-api/arg.rst:678
1175+
#: ../../c-api/arg.rst:680
11761176
msgid "``N`` (object) [PyObject \\*]"
11771177
msgstr "``N`` (object) [PyObject \\*]"
11781178

1179-
#: ../../c-api/arg.rst:679
1179+
#: ../../c-api/arg.rst:681
11801180
msgid ""
11811181
"Same as ``O``, except it doesn't create a new :term:`strong reference`. "
11821182
"Useful when the object is created by a call to an object constructor in the "
11831183
"argument list."
11841184
msgstr ""
11851185

1186-
#: ../../c-api/arg.rst:683
1186+
#: ../../c-api/arg.rst:685
11871187
msgid "``O&`` (object) [*converter*, *anything*]"
11881188
msgstr "``O&`` (object) [*converter*, *anything*]"
11891189

1190-
#: ../../c-api/arg.rst:684
1190+
#: ../../c-api/arg.rst:686
11911191
msgid ""
11921192
"Convert *anything* to a Python object through a *converter* function. The "
11931193
"function is called with *anything* (which should be compatible with :c:expr:"
11941194
"`void*`) as its argument and should return a \"new\" Python object, or "
11951195
"``NULL`` if an error occurred."
11961196
msgstr ""
11971197

1198-
#: ../../c-api/arg.rst:690
1198+
#: ../../c-api/arg.rst:692
11991199
msgid ""
12001200
"Convert a sequence of C values to a Python tuple with the same number of "
12011201
"items."
12021202
msgstr ""
12031203

1204-
#: ../../c-api/arg.rst:692
1204+
#: ../../c-api/arg.rst:694
12051205
msgid "``[items]`` (:class:`list`) [*matching-items*]"
12061206
msgstr "``[items]`` (:class:`list`) [*matching-items*]"
12071207

1208-
#: ../../c-api/arg.rst:693
1208+
#: ../../c-api/arg.rst:695
12091209
msgid ""
12101210
"Convert a sequence of C values to a Python list with the same number of "
12111211
"items."
12121212
msgstr ""
12131213

1214-
#: ../../c-api/arg.rst:695
1214+
#: ../../c-api/arg.rst:697
12151215
msgid "``{items}`` (:class:`dict`) [*matching-items*]"
12161216
msgstr "``{items}`` (:class:`dict`) [*matching-items*]"
12171217

1218-
#: ../../c-api/arg.rst:696
1218+
#: ../../c-api/arg.rst:698
12191219
msgid ""
12201220
"Convert a sequence of C values to a Python dictionary. Each pair of "
12211221
"consecutive C values adds one item to the dictionary, serving as key and "
12221222
"value, respectively."
12231223
msgstr ""
12241224

1225-
#: ../../c-api/arg.rst:700
1225+
#: ../../c-api/arg.rst:702
12261226
msgid ""
12271227
"If there is an error in the format string, the :exc:`SystemError` exception "
12281228
"is set and ``NULL`` returned."
12291229
msgstr ""
12301230

1231-
#: ../../c-api/arg.rst:705
1231+
#: ../../c-api/arg.rst:707
12321232
msgid ""
12331233
"Identical to :c:func:`Py_BuildValue`, except that it accepts a va_list "
12341234
"rather than a variable number of arguments."

library/gzip.po

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-04-11 00:15+0000\n"
10+
"POT-Creation-Date: 2025-04-26 00:14+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:03+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -389,46 +389,52 @@ msgid ""
389389
"format."
390390
msgstr ""
391391

392-
#: ../../library/gzip.rst:262
392+
#: ../../library/gzip.rst:256
393+
msgid ""
394+
"In case gzip (de)compression is a bottleneck, the `python-isal`_ package "
395+
"speeds up (de)compression with a mostly compatible API."
396+
msgstr ""
397+
398+
#: ../../library/gzip.rst:266
393399
msgid "Command Line Interface"
394400
msgstr "命令列介面"
395401

396-
#: ../../library/gzip.rst:264
402+
#: ../../library/gzip.rst:268
397403
msgid ""
398404
"The :mod:`gzip` module provides a simple command line interface to compress "
399405
"or decompress files."
400406
msgstr ""
401407

402-
#: ../../library/gzip.rst:267
408+
#: ../../library/gzip.rst:271
403409
msgid "Once executed the :mod:`gzip` module keeps the input file(s)."
404410
msgstr ""
405411

406-
#: ../../library/gzip.rst:271
412+
#: ../../library/gzip.rst:275
407413
msgid ""
408414
"Add a new command line interface with a usage. By default, when you will "
409415
"execute the CLI, the default compression level is 6."
410416
msgstr ""
411417

412-
#: ../../library/gzip.rst:275
418+
#: ../../library/gzip.rst:279
413419
msgid "Command line options"
414420
msgstr "命令列選項"
415421

416-
#: ../../library/gzip.rst:279
422+
#: ../../library/gzip.rst:283
417423
msgid "If *file* is not specified, read from :data:`sys.stdin`."
418424
msgstr "如果未指定 *file*,則從 :data:`sys.stdin` 讀取。"
419425

420-
#: ../../library/gzip.rst:283
426+
#: ../../library/gzip.rst:287
421427
msgid "Indicates the fastest compression method (less compression)."
422428
msgstr ""
423429

424-
#: ../../library/gzip.rst:287
430+
#: ../../library/gzip.rst:291
425431
msgid "Indicates the slowest compression method (best compression)."
426432
msgstr ""
427433

428-
#: ../../library/gzip.rst:291
434+
#: ../../library/gzip.rst:295
429435
msgid "Decompress the given file."
430436
msgstr "解壓縮指定的檔案。"
431437

432-
#: ../../library/gzip.rst:295
438+
#: ../../library/gzip.rst:299
433439
msgid "Show the help message."
434440
msgstr "顯示幫助訊息。"

library/zlib.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
10+
"POT-Creation-Date: 2025-04-26 00:14+0000\n"
1111
"PO-Revision-Date: 2022-12-28 20:58+0800\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -562,6 +562,12 @@ msgid ""
562562
"functions."
563563
msgstr "zlib 手冊解釋了函式庫中許多函式的語義和用法。"
564564

565+
#: ../../library/zlib.rst:345
566+
msgid ""
567+
"In case gzip (de)compression is a bottleneck, the `python-isal`_ package "
568+
"speeds up (de)compression with a mostly compatible API."
569+
msgstr ""
570+
565571
#: ../../library/zlib.rst:123
566572
msgid "Cyclic Redundancy Check"
567573
msgstr "Cyclic Redundancy Check(循環冗餘核對)"

0 commit comments

Comments
 (0)