7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.13\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2024-12-29 11:18 +0000\n "
10
+ "POT-Creation-Date : 2025-01-05 00:15 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 14:32+0000\n "
12
12
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -606,6 +606,13 @@ msgstr ""
606
606
607
607
#: ../../c-api/object.rst:498
608
608
msgid ""
609
+ "This is the same as :c:func:`PyObject_DelItem`, but *key* is specified as a :"
610
+ "c:expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr:"
611
+ "`PyObject*`."
612
+ msgstr ""
613
+
614
+ #: ../../c-api/object.rst:505
615
+ msgid ""
609
616
"This is equivalent to the Python expression ``dir(o)``, returning a "
610
617
"(possibly empty) list of strings appropriate for the object argument, or "
611
618
"``NULL`` if there was an error. If the argument is ``NULL``, this is like "
@@ -614,22 +621,22 @@ msgid ""
614
621
"`PyErr_Occurred` will return false."
615
622
msgstr ""
616
623
617
- #: ../../c-api/object.rst:507
624
+ #: ../../c-api/object.rst:514
618
625
msgid ""
619
626
"This is equivalent to the Python expression ``iter(o)``. It returns a new "
620
627
"iterator for the object argument, or the object itself if the object is "
621
628
"already an iterator. Raises :exc:`TypeError` and returns ``NULL`` if the "
622
629
"object cannot be iterated."
623
630
msgstr ""
624
631
625
- #: ../../c-api/object.rst:515
632
+ #: ../../c-api/object.rst:522
626
633
msgid ""
627
634
"This is equivalent to the Python ``__iter__(self): return self`` method. It "
628
635
"is intended for :term:`iterator` types, to be used in the :c:member:"
629
636
"`PyTypeObject.tp_iter` slot."
630
637
msgstr ""
631
638
632
- #: ../../c-api/object.rst:521
639
+ #: ../../c-api/object.rst:528
633
640
msgid ""
634
641
"This is the equivalent to the Python expression ``aiter(o)``. Takes an :"
635
642
"class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it. "
@@ -638,67 +645,67 @@ msgid ""
638
645
"``NULL`` if the object cannot be iterated."
639
646
msgstr ""
640
647
641
- #: ../../c-api/object.rst:531
648
+ #: ../../c-api/object.rst:538
642
649
msgid "Get a pointer to subclass-specific data reserved for *cls*."
643
650
msgstr ""
644
651
645
- #: ../../c-api/object.rst:533
652
+ #: ../../c-api/object.rst:540
646
653
msgid ""
647
654
"The object *o* must be an instance of *cls*, and *cls* must have been "
648
655
"created using negative :c:member:`PyType_Spec.basicsize`. Python does not "
649
656
"check this."
650
657
msgstr ""
651
658
652
- #: ../../c-api/object.rst:537
659
+ #: ../../c-api/object.rst:544
653
660
msgid "On error, set an exception and return ``NULL``."
654
661
msgstr ""
655
662
656
- #: ../../c-api/object.rst:543
663
+ #: ../../c-api/object.rst:550
657
664
msgid ""
658
665
"Return the size of the instance memory space reserved for *cls*, i.e. the "
659
666
"size of the memory :c:func:`PyObject_GetTypeData` returns."
660
667
msgstr ""
661
668
662
- #: ../../c-api/object.rst:546
669
+ #: ../../c-api/object.rst:553
663
670
msgid ""
664
671
"This may be larger than requested using :c:member:`-PyType_Spec.basicsize "
665
672
"<PyType_Spec.basicsize>`; it is safe to use this larger size (e.g. with :c:"
666
673
"func:`!memset`)."
667
674
msgstr ""
668
675
669
- #: ../../c-api/object.rst:549
676
+ #: ../../c-api/object.rst:556
670
677
msgid ""
671
678
"The type *cls* **must** have been created using negative :c:member:"
672
679
"`PyType_Spec.basicsize`. Python does not check this."
673
680
msgstr ""
674
681
675
- #: ../../c-api/object.rst:553
682
+ #: ../../c-api/object.rst:560
676
683
msgid "On error, set an exception and return a negative value."
677
684
msgstr ""
678
685
679
- #: ../../c-api/object.rst:559
686
+ #: ../../c-api/object.rst:566
680
687
msgid ""
681
688
"Get a pointer to per-item data for a class with :c:macro:"
682
689
"`Py_TPFLAGS_ITEMS_AT_END`."
683
690
msgstr ""
684
691
685
- #: ../../c-api/object.rst:562
692
+ #: ../../c-api/object.rst:569
686
693
msgid ""
687
694
"On error, set an exception and return ``NULL``. :py:exc:`TypeError` is "
688
695
"raised if *o* does not have :c:macro:`Py_TPFLAGS_ITEMS_AT_END` set."
689
696
msgstr ""
690
697
691
- #: ../../c-api/object.rst:570
698
+ #: ../../c-api/object.rst:577
692
699
msgid "Visit the managed dictionary of *obj*."
693
700
msgstr ""
694
701
695
- #: ../../c-api/object.rst:572 ../../c-api/object.rst:581
702
+ #: ../../c-api/object.rst:579 ../../c-api/object.rst:588
696
703
msgid ""
697
704
"This function must only be called in a traverse function of the type which "
698
705
"has the :c:macro:`Py_TPFLAGS_MANAGED_DICT` flag set."
699
706
msgstr ""
700
707
701
- #: ../../c-api/object.rst:579
708
+ #: ../../c-api/object.rst:586
702
709
msgid "Clear the managed dictionary of *obj*."
703
710
msgstr ""
704
711
0 commit comments