44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # Freesand Leo <yuqinju@163.com>, 2025
87# python-doc bot, 2025
8+ # Freesand Leo <yuqinju@163.com>, 2025
99#
1010#, fuzzy
1111msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.14\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2025-11-19 14:14 +0000\n "
15+ "POT-Creation-Date : 2025-11-19 19:26 +0000\n "
1616"PO-Revision-Date : 2025-09-16 00:00+0000\n "
17- "Last-Translator : python-doc bot , 2025\n "
17+ "Last-Translator : Freesand Leo <yuqinju@163.com> , 2025\n "
1818"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1919"MIME-Version : 1.0\n "
2020"Content-Type : text/plain; charset=UTF-8\n "
@@ -663,86 +663,93 @@ msgstr "如果 *op* 是一个字典条目视图的实例则返回真值。 此
663663
664664#: ../../c-api/dict.rst:483
665665msgid "Ordered Dictionaries"
666- msgstr ""
666+ msgstr "有序字典 "
667667
668668#: ../../c-api/dict.rst:485
669669msgid ""
670670"Python's C API provides interface for :class:`collections.OrderedDict` from "
671671"C. Since Python 3.7, dictionaries are ordered by default, so there is "
672672"usually little need for these functions; prefer ``PyDict*`` where possible."
673673msgstr ""
674+ "Python 的 C API 提供了针对来自 C 的 :class:`collections.OrderedDict` 的接口。 从 Python "
675+ "3.7 开始,字典默认就是有序的,因此通常不需要使用这些函数;只要有可能就建议使用 ``PyDict*``。"
674676
675677#: ../../c-api/dict.rst:492
676678msgid ""
677679"Type object for ordered dictionaries. This is the same object as "
678680":class:`collections.OrderedDict` in the Python layer."
679- msgstr ""
681+ msgstr "有序字典的类型对象。 它与 Python 层面的 :class:`collections.OrderedDict` 是相同的对象。 "
680682
681683#: ../../c-api/dict.rst:498
682684msgid ""
683685"Return true if *od* is an ordered dictionary object or an instance of a "
684686"subtype of the :class:`~collections.OrderedDict` type. This function always"
685687" succeeds."
686688msgstr ""
689+ "如果 *od* 是一个有序字典对象或 :class:`~collections.OrderedDict` 类型的子类型的实例则返回真值。 "
690+ "此函数总是会成功执行。"
687691
688692#: ../../c-api/dict.rst:505
689693msgid ""
690694"Return true if *od* is an ordered dictionary object, but not an instance of "
691695"a subtype of the :class:`~collections.OrderedDict` type. This function "
692696"always succeeds."
693697msgstr ""
698+ "如果 *od* 是一个有序字典对象,但不是 :class:`~collections.OrderedDict` 类型的子类型的实例则返回真值。 "
699+ "此函数总是会成功执行。"
694700
695701#: ../../c-api/dict.rst:512
696702msgid "Analogous to :c:type:`PyDictKeys_Type` for ordered dictionaries."
697- msgstr ""
703+ msgstr "等同于针对有序字典的 :c:type:`PyDictKeys_Type`。 "
698704
699705#: ../../c-api/dict.rst:517
700706msgid "Analogous to :c:type:`PyDictValues_Type` for ordered dictionaries."
701- msgstr ""
707+ msgstr "等同于针对有序字典的 :c:type:`PyDictValues_Type`。 "
702708
703709#: ../../c-api/dict.rst:522
704710msgid "Analogous to :c:type:`PyDictItems_Type` for ordered dictionaries."
705- msgstr ""
711+ msgstr "等同于针对有序字典的 :c:type:`PyDictItems_Type`。 "
706712
707713#: ../../c-api/dict.rst:527
708714msgid "Return a new empty ordered dictionary, or ``NULL`` on failure."
709- msgstr ""
715+ msgstr "返回一个新的空有序字典,或在失败时返回 ``NULL``。 "
710716
711717#: ../../c-api/dict.rst:529
712718msgid "This is analogous to :c:func:`PyDict_New`."
713- msgstr ""
719+ msgstr "这等同于 :c:func:`PyDict_New`。 "
714720
715721#: ../../c-api/dict.rst:534
716722msgid ""
717723"Insert *value* into the ordered dictionary *od* with a key of *key*. Return "
718724"``0`` on success or ``-1`` with an exception set on failure."
719725msgstr ""
726+ "将 *value* 插入到有序字典 *od* 并将键设为 *key*。 成功时返回 ``0`` 或在失败时返回 ``-1`` 并设置一个异常。"
720727
721728#: ../../c-api/dict.rst:537
722729msgid "This is analogous to :c:func:`PyDict_SetItem`."
723- msgstr ""
730+ msgstr "这等同于 :c:func:`PyDict_SetItem`。 "
724731
725732#: ../../c-api/dict.rst:542
726733msgid ""
727734"Remove the entry in the ordered dictionary *od* with key *key*. Return ``0``"
728735" on success or ``-1`` with an exception set on failure."
729- msgstr ""
736+ msgstr "移除有序字典中 *od* 键为 *key* 的条目。 成功时返回 ``0`` 或在失败时返回 ``-1`` 并设置一个异常。 "
730737
731738#: ../../c-api/dict.rst:545
732739msgid "This is analogous to :c:func:`PyDict_DelItem`."
733- msgstr ""
740+ msgstr "这等同于 :c:func:`PyDict_DelItem`。 "
734741
735742#: ../../c-api/dict.rst:548
736743msgid "These are :term:`soft deprecated` aliases to ``PyDict`` APIs:"
737- msgstr ""
744+ msgstr "这些是已被设为 :term:`soft deprecated` 状态的 ``PyDict`` API 的别名: "
738745
739746#: ../../c-api/dict.rst:555
740747msgid "``PyODict``"
741- msgstr ""
748+ msgstr "``PyODict`` "
742749
743750#: ../../c-api/dict.rst:556
744751msgid "``PyDict``"
745- msgstr ""
752+ msgstr "``PyDict`` "
746753
747754#: ../../c-api/dict.rst:558
748755msgid ":c:func:`PyDict_GetItem`"
@@ -758,15 +765,15 @@ msgstr ":c:func:`PyDict_GetItemString`"
758765
759766#: ../../c-api/dict.rst:564
760767msgid ":c:func:`PyDict_Contains`"
761- msgstr ""
768+ msgstr ":c:func:`PyDict_Contains` "
762769
763770#: ../../c-api/dict.rst:566
764771msgid ":c:func:`PyDict_Size`"
765- msgstr ""
772+ msgstr ":c:func:`PyDict_Size` "
766773
767774#: ../../c-api/dict.rst:568
768775msgid ":c:func:`PyDict_GET_SIZE`"
769- msgstr ""
776+ msgstr ":c:func:`PyDict_GET_SIZE` "
770777
771778#: ../../c-api/dict.rst:8
772779msgid "object"
0 commit comments