|
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.13\n" |
14 | 14 | "Report-Msgid-Bugs-To: \n" |
15 | | -"POT-Creation-Date: 2025-11-15 15:00+0000\n" |
| 15 | +"POT-Creation-Date: 2025-11-19 15:26+0000\n" |
16 | 16 | "PO-Revision-Date: 2025-09-15 01:03+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" |
@@ -646,6 +646,113 @@ msgid "" |
646 | 646 | " always succeeds." |
647 | 647 | msgstr "如果 *op* 是一个字典条目视图的实例则返回真值。 此函数总是会成功执行。" |
648 | 648 |
|
| 649 | +#: ../../c-api/dict.rst:474 |
| 650 | +msgid "Ordered Dictionaries" |
| 651 | +msgstr "" |
| 652 | + |
| 653 | +#: ../../c-api/dict.rst:476 |
| 654 | +msgid "" |
| 655 | +"Python's C API provides interface for :class:`collections.OrderedDict` from " |
| 656 | +"C. Since Python 3.7, dictionaries are ordered by default, so there is " |
| 657 | +"usually little need for these functions; prefer ``PyDict*`` where possible." |
| 658 | +msgstr "" |
| 659 | + |
| 660 | +#: ../../c-api/dict.rst:483 |
| 661 | +msgid "" |
| 662 | +"Type object for ordered dictionaries. This is the same object as " |
| 663 | +":class:`collections.OrderedDict` in the Python layer." |
| 664 | +msgstr "" |
| 665 | + |
| 666 | +#: ../../c-api/dict.rst:489 |
| 667 | +msgid "" |
| 668 | +"Return true if *od* is an ordered dictionary object or an instance of a " |
| 669 | +"subtype of the :class:`~collections.OrderedDict` type. This function always" |
| 670 | +" succeeds." |
| 671 | +msgstr "" |
| 672 | + |
| 673 | +#: ../../c-api/dict.rst:496 |
| 674 | +msgid "" |
| 675 | +"Return true if *od* is an ordered dictionary object, but not an instance of " |
| 676 | +"a subtype of the :class:`~collections.OrderedDict` type. This function " |
| 677 | +"always succeeds." |
| 678 | +msgstr "" |
| 679 | + |
| 680 | +#: ../../c-api/dict.rst:503 |
| 681 | +msgid "Analogous to :c:type:`PyDictKeys_Type` for ordered dictionaries." |
| 682 | +msgstr "" |
| 683 | + |
| 684 | +#: ../../c-api/dict.rst:508 |
| 685 | +msgid "Analogous to :c:type:`PyDictValues_Type` for ordered dictionaries." |
| 686 | +msgstr "" |
| 687 | + |
| 688 | +#: ../../c-api/dict.rst:513 |
| 689 | +msgid "Analogous to :c:type:`PyDictItems_Type` for ordered dictionaries." |
| 690 | +msgstr "" |
| 691 | + |
| 692 | +#: ../../c-api/dict.rst:518 |
| 693 | +msgid "Return a new empty ordered dictionary, or ``NULL`` on failure." |
| 694 | +msgstr "" |
| 695 | + |
| 696 | +#: ../../c-api/dict.rst:520 |
| 697 | +msgid "This is analogous to :c:func:`PyDict_New`." |
| 698 | +msgstr "" |
| 699 | + |
| 700 | +#: ../../c-api/dict.rst:525 |
| 701 | +msgid "" |
| 702 | +"Insert *value* into the ordered dictionary *od* with a key of *key*. Return " |
| 703 | +"``0`` on success or ``-1`` with an exception set on failure." |
| 704 | +msgstr "" |
| 705 | + |
| 706 | +#: ../../c-api/dict.rst:528 |
| 707 | +msgid "This is analogous to :c:func:`PyDict_SetItem`." |
| 708 | +msgstr "" |
| 709 | + |
| 710 | +#: ../../c-api/dict.rst:533 |
| 711 | +msgid "" |
| 712 | +"Remove the entry in the ordered dictionary *od* with key *key*. Return ``0``" |
| 713 | +" on success or ``-1`` with an exception set on failure." |
| 714 | +msgstr "" |
| 715 | + |
| 716 | +#: ../../c-api/dict.rst:536 |
| 717 | +msgid "This is analogous to :c:func:`PyDict_DelItem`." |
| 718 | +msgstr "" |
| 719 | + |
| 720 | +#: ../../c-api/dict.rst:539 |
| 721 | +msgid "These are :term:`soft deprecated` aliases to ``PyDict`` APIs:" |
| 722 | +msgstr "" |
| 723 | + |
| 724 | +#: ../../c-api/dict.rst:546 |
| 725 | +msgid "``PyODict``" |
| 726 | +msgstr "" |
| 727 | + |
| 728 | +#: ../../c-api/dict.rst:547 |
| 729 | +msgid "``PyDict``" |
| 730 | +msgstr "" |
| 731 | + |
| 732 | +#: ../../c-api/dict.rst:549 |
| 733 | +msgid ":c:func:`PyDict_GetItem`" |
| 734 | +msgstr ":c:func:`PyDict_GetItem`" |
| 735 | + |
| 736 | +#: ../../c-api/dict.rst:551 |
| 737 | +msgid ":c:func:`PyDict_GetItemWithError`" |
| 738 | +msgstr ":c:func:`PyDict_GetItemWithError`" |
| 739 | + |
| 740 | +#: ../../c-api/dict.rst:553 |
| 741 | +msgid ":c:func:`PyDict_GetItemString`" |
| 742 | +msgstr ":c:func:`PyDict_GetItemString`" |
| 743 | + |
| 744 | +#: ../../c-api/dict.rst:555 |
| 745 | +msgid ":c:func:`PyDict_Contains`" |
| 746 | +msgstr "" |
| 747 | + |
| 748 | +#: ../../c-api/dict.rst:557 |
| 749 | +msgid ":c:func:`PyDict_Size`" |
| 750 | +msgstr "" |
| 751 | + |
| 752 | +#: ../../c-api/dict.rst:559 |
| 753 | +msgid ":c:func:`PyDict_GET_SIZE`" |
| 754 | +msgstr "" |
| 755 | + |
649 | 756 | #: ../../c-api/dict.rst:8 |
650 | 757 | msgid "object" |
651 | 758 | msgstr "object -- 对象" |
|
0 commit comments