|
4 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
5 | 5 | # |
6 | 6 | # Translators: |
7 | | -# python-doc bot, 2025 |
8 | 7 | # Freesand Leo <yuqinju@163.com>, 2025 |
| 8 | +# python-doc bot, 2025 |
9 | 9 | # |
10 | 10 | #, fuzzy |
11 | 11 | msgid "" |
12 | 12 | msgstr "" |
13 | 13 | "Project-Id-Version: Python 3.14\n" |
14 | 14 | "Report-Msgid-Bugs-To: \n" |
15 | | -"POT-Creation-Date: 2025-11-13 18:32+0000\n" |
| 15 | +"POT-Creation-Date: 2025-11-19 14:14+0000\n" |
16 | 16 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" |
17 | | -"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n" |
| 17 | +"Last-Translator: python-doc bot, 2025\n" |
18 | 18 | "Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n" |
19 | 19 | "MIME-Version: 1.0\n" |
20 | 20 | "Content-Type: text/plain; charset=UTF-8\n" |
@@ -661,6 +661,113 @@ msgid "" |
661 | 661 | " always succeeds." |
662 | 662 | msgstr "如果 *op* 是一个字典条目视图的实例则返回真值。 此函数总是会成功执行。" |
663 | 663 |
|
| 664 | +#: ../../c-api/dict.rst:483 |
| 665 | +msgid "Ordered Dictionaries" |
| 666 | +msgstr "" |
| 667 | + |
| 668 | +#: ../../c-api/dict.rst:485 |
| 669 | +msgid "" |
| 670 | +"Python's C API provides interface for :class:`collections.OrderedDict` from " |
| 671 | +"C. Since Python 3.7, dictionaries are ordered by default, so there is " |
| 672 | +"usually little need for these functions; prefer ``PyDict*`` where possible." |
| 673 | +msgstr "" |
| 674 | + |
| 675 | +#: ../../c-api/dict.rst:492 |
| 676 | +msgid "" |
| 677 | +"Type object for ordered dictionaries. This is the same object as " |
| 678 | +":class:`collections.OrderedDict` in the Python layer." |
| 679 | +msgstr "" |
| 680 | + |
| 681 | +#: ../../c-api/dict.rst:498 |
| 682 | +msgid "" |
| 683 | +"Return true if *od* is an ordered dictionary object or an instance of a " |
| 684 | +"subtype of the :class:`~collections.OrderedDict` type. This function always" |
| 685 | +" succeeds." |
| 686 | +msgstr "" |
| 687 | + |
| 688 | +#: ../../c-api/dict.rst:505 |
| 689 | +msgid "" |
| 690 | +"Return true if *od* is an ordered dictionary object, but not an instance of " |
| 691 | +"a subtype of the :class:`~collections.OrderedDict` type. This function " |
| 692 | +"always succeeds." |
| 693 | +msgstr "" |
| 694 | + |
| 695 | +#: ../../c-api/dict.rst:512 |
| 696 | +msgid "Analogous to :c:type:`PyDictKeys_Type` for ordered dictionaries." |
| 697 | +msgstr "" |
| 698 | + |
| 699 | +#: ../../c-api/dict.rst:517 |
| 700 | +msgid "Analogous to :c:type:`PyDictValues_Type` for ordered dictionaries." |
| 701 | +msgstr "" |
| 702 | + |
| 703 | +#: ../../c-api/dict.rst:522 |
| 704 | +msgid "Analogous to :c:type:`PyDictItems_Type` for ordered dictionaries." |
| 705 | +msgstr "" |
| 706 | + |
| 707 | +#: ../../c-api/dict.rst:527 |
| 708 | +msgid "Return a new empty ordered dictionary, or ``NULL`` on failure." |
| 709 | +msgstr "" |
| 710 | + |
| 711 | +#: ../../c-api/dict.rst:529 |
| 712 | +msgid "This is analogous to :c:func:`PyDict_New`." |
| 713 | +msgstr "" |
| 714 | + |
| 715 | +#: ../../c-api/dict.rst:534 |
| 716 | +msgid "" |
| 717 | +"Insert *value* into the ordered dictionary *od* with a key of *key*. Return " |
| 718 | +"``0`` on success or ``-1`` with an exception set on failure." |
| 719 | +msgstr "" |
| 720 | + |
| 721 | +#: ../../c-api/dict.rst:537 |
| 722 | +msgid "This is analogous to :c:func:`PyDict_SetItem`." |
| 723 | +msgstr "" |
| 724 | + |
| 725 | +#: ../../c-api/dict.rst:542 |
| 726 | +msgid "" |
| 727 | +"Remove the entry in the ordered dictionary *od* with key *key*. Return ``0``" |
| 728 | +" on success or ``-1`` with an exception set on failure." |
| 729 | +msgstr "" |
| 730 | + |
| 731 | +#: ../../c-api/dict.rst:545 |
| 732 | +msgid "This is analogous to :c:func:`PyDict_DelItem`." |
| 733 | +msgstr "" |
| 734 | + |
| 735 | +#: ../../c-api/dict.rst:548 |
| 736 | +msgid "These are :term:`soft deprecated` aliases to ``PyDict`` APIs:" |
| 737 | +msgstr "" |
| 738 | + |
| 739 | +#: ../../c-api/dict.rst:555 |
| 740 | +msgid "``PyODict``" |
| 741 | +msgstr "" |
| 742 | + |
| 743 | +#: ../../c-api/dict.rst:556 |
| 744 | +msgid "``PyDict``" |
| 745 | +msgstr "" |
| 746 | + |
| 747 | +#: ../../c-api/dict.rst:558 |
| 748 | +msgid ":c:func:`PyDict_GetItem`" |
| 749 | +msgstr ":c:func:`PyDict_GetItem`" |
| 750 | + |
| 751 | +#: ../../c-api/dict.rst:560 |
| 752 | +msgid ":c:func:`PyDict_GetItemWithError`" |
| 753 | +msgstr ":c:func:`PyDict_GetItemWithError`" |
| 754 | + |
| 755 | +#: ../../c-api/dict.rst:562 |
| 756 | +msgid ":c:func:`PyDict_GetItemString`" |
| 757 | +msgstr ":c:func:`PyDict_GetItemString`" |
| 758 | + |
| 759 | +#: ../../c-api/dict.rst:564 |
| 760 | +msgid ":c:func:`PyDict_Contains`" |
| 761 | +msgstr "" |
| 762 | + |
| 763 | +#: ../../c-api/dict.rst:566 |
| 764 | +msgid ":c:func:`PyDict_Size`" |
| 765 | +msgstr "" |
| 766 | + |
| 767 | +#: ../../c-api/dict.rst:568 |
| 768 | +msgid ":c:func:`PyDict_GET_SIZE`" |
| 769 | +msgstr "" |
| 770 | + |
664 | 771 | #: ../../c-api/dict.rst:8 |
665 | 772 | msgid "object" |
666 | 773 | msgstr "object -- 对象" |
|
0 commit comments