Skip to content

Commit 9520995

Browse files
sync with cpython a8003f6d
1 parent 252b1dc commit 9520995

5 files changed

Lines changed: 1259 additions & 1181 deletions

File tree

c-api/typeobj.po

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.14\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2026-03-19 00:23+0000\n"
9+
"POT-Creation-Date: 2026-06-09 00:37+0000\n"
1010
"PO-Revision-Date: 2018-05-23 14:33+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -4286,8 +4286,8 @@ msgstr ""
42864286

42874287
#: ../../c-api/typeobj.rst:3047
42884288
msgid ""
4289-
"Check if the request can be met. If not, raise :exc:`BufferError`, set :c:"
4290-
"expr:`view->obj` to ``NULL`` and return ``-1``."
4289+
"Check if the request can be met. If not, raise :exc:`BufferError`, set "
4290+
"``view->obj`` to ``NULL`` and return ``-1``."
42914291
msgstr ""
42924292

42934293
#: ../../c-api/typeobj.rst:3050
@@ -4299,8 +4299,7 @@ msgid "Increment an internal counter for the number of exports."
42994299
msgstr ""
43004300

43014301
#: ../../c-api/typeobj.rst:3054
4302-
msgid ""
4303-
"Set :c:expr:`view->obj` to *exporter* and increment :c:expr:`view->obj`."
4302+
msgid "Set ``view->obj`` to *exporter* and increment ``view->obj``."
43044303
msgstr ""
43054304

43064305
#: ../../c-api/typeobj.rst:3056
@@ -4350,14 +4349,14 @@ msgstr ""
43504349

43514350
#: ../../c-api/typeobj.rst:3079
43524351
msgid ""
4353-
"Re-export: Each member of the tree acts as the exporting object and sets :c:"
4354-
"expr:`view->obj` to a new reference to itself."
4352+
"Re-export: Each member of the tree acts as the exporting object and sets "
4353+
"``view->obj`` to a new reference to itself."
43554354
msgstr ""
43564355

43574356
#: ../../c-api/typeobj.rst:3082
43584357
msgid ""
43594358
"Redirect: The buffer request is redirected to the root object of the tree. "
4360-
"Here, :c:expr:`view->obj` will be a new reference to the root object."
4359+
"Here, ``view->obj`` will be a new reference to the root object."
43614360
msgstr ""
43624361

43634362
#: ../../c-api/typeobj.rst:3086
@@ -4434,7 +4433,7 @@ msgstr ""
44344433

44354434
#: ../../c-api/typeobj.rst:3137
44364435
msgid ""
4437-
"This function MUST NOT decrement :c:expr:`view->obj`, since that is done "
4436+
"This function MUST NOT decrement ``view->obj``, since that is done "
44384437
"automatically in :c:func:`PyBuffer_Release` (this scheme is useful for "
44394438
"breaking reference cycles)."
44404439
msgstr ""

library/bisect.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.14\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2026-03-01 00:20+0000\n"
13+
"POT-Creation-Date: 2026-06-09 00:37+0000\n"
1414
"PO-Revision-Date: 2023-08-01 12:53+0800\n"
1515
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -314,8 +314,9 @@ msgstr ""
314314
"績找到相對應的字母等級:90 以上是 'A'、80 到 89 為 'B',依此類推: ::"
315315

316316
#: ../../library/bisect.rst:206
317+
#, fuzzy
317318
msgid ""
318-
">>> def grade(score)\n"
319+
">>> def grade(score):\n"
319320
"... i = bisect([60, 70, 80, 90], score)\n"
320321
"... return \"FDCBA\"[i]\n"
321322
"...\n"

library/collections.abc.po

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.14\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2025-10-08 00:15+0000\n"
9+
"POT-Creation-Date: 2026-06-09 00:37+0000\n"
1010
"PO-Revision-Date: 2018-05-23 14:41+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -309,8 +309,8 @@ msgid ""
309309
"Inherited :class:`Sequence` methods and ``append``, ``clear``, ``reverse``, "
310310
"``extend``, ``pop``, ``remove``, and ``__iadd__``"
311311
msgstr ""
312-
"繼承 :class:`Sequence` 方法和 ``append``、``clear``、``reverse``、``extend``、"
313-
"``pop``、``remove`` 和 ``__iadd__``"
312+
"繼承 :class:`Sequence` 方法和 ``append``、``clear``、``reverse``、"
313+
"``extend``、``pop``、``remove`` 和 ``__iadd__``"
314314

315315
#: ../../library/collections.abc.rst:143
316316
msgid ":class:`ByteString`"
@@ -554,15 +554,14 @@ msgid ""
554554
"ABC for classes that provide the :meth:`~iterator.__iter__` and :meth:"
555555
"`~iterator.__next__` methods. See also the definition of :term:`iterator`."
556556
msgstr ""
557-
"有提供 :meth:`~iterator.__iter__` 和 :meth:`~iterator.__next__` 方法之類別的 ABC。"
558-
"另請參閱 :term:`iterator` 的定義。"
557+
"有提供 :meth:`~iterator.__iter__` 和 :meth:`~iterator.__next__` 方法之類別的 "
558+
"ABC。另請參閱 :term:`iterator` 的定義。"
559559

560560
#: ../../library/collections.abc.rst:247
561561
msgid ""
562562
"ABC for iterable classes that also provide the :meth:`~object.__reversed__` "
563563
"method."
564-
msgstr ""
565-
"亦有提供 :meth:`~object.__reversed__` 方法之可疊代類別的 ABC。"
564+
msgstr "亦有提供 :meth:`~object.__reversed__` 方法之可疊代類別的 ABC。"
566565

567566
#: ../../library/collections.abc.rst:254
568567
msgid ""
@@ -635,10 +634,11 @@ msgid ""
635634
"also never understood as subtypes of :class:`!ByteString` (either at runtime "
636635
"or by static type checkers)."
637636
msgstr ""
638-
":class:`!ByteString` 最初被設計為一個抽象類別,以作為 :class:`bytes` 和 :class:`bytearray` "
639-
"的超型別 (supertype)。然而由於 ABC 從未擁有任何方法,知道一個物件是 :class:`!ByteString` 的"
640-
"實例從未真正告訴你任何關於該物件的有用資訊。其他常見的緩衝區型別如 :class:`memoryview` "
641-
"也從未被理解為 :class:`!ByteString` 的子型別(無論是在 runtime 還是由靜態型別檢查器)。"
637+
":class:`!ByteString` 最初被設計為一個抽象類別,以作為 :class:`bytes` 和 :"
638+
"class:`bytearray` 的超型別 (supertype)。然而由於 ABC 從未擁有任何方法,知道一"
639+
"個物件是 :class:`!ByteString` 的實例從未真正告訴你任何關於該物件的有用資訊。"
640+
"其他常見的緩衝區型別如 :class:`memoryview` 也從未被理解為 :class:`!"
641+
"ByteString` 的子型別(無論是在 runtime 還是由靜態型別檢查器)。"
642642

643643
#: ../../library/collections.abc.rst:309
644644
msgid "See :pep:`PEP 688 <688#current-options>` for more details."
@@ -819,7 +819,7 @@ msgid ""
819819
"The :class:`Set` mixin provides a :meth:`!_hash` method to compute a hash "
820820
"value for the set; however, :meth:`~object.__hash__` is not defined because "
821821
"not all sets are :term:`hashable` or immutable. To add set hashability "
822-
"using mixins, inherit from both :meth:`Set` and :meth:`Hashable`, then "
822+
"using mixins, inherit from both :class:`Set` and :class:`Hashable`, then "
823823
"define ``__hash__ = Set._hash``."
824824
msgstr ""
825825

0 commit comments

Comments
 (0)