77msgstr ""
88"Project-Id-Version : Python 3.13\n "
99"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 "
1111"PO-Revision-Date : 2018-05-23 14:32+0000\n "
1212"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -606,6 +606,13 @@ msgstr ""
606606
607607#: ../../c-api/object.rst:498
608608msgid ""
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 ""
609616"This is equivalent to the Python expression ``dir(o)``, returning a "
610617"(possibly empty) list of strings appropriate for the object argument, or "
611618"``NULL`` if there was an error. If the argument is ``NULL``, this is like "
@@ -614,22 +621,22 @@ msgid ""
614621"`PyErr_Occurred` will return false."
615622msgstr ""
616623
617- #: ../../c-api/object.rst:507
624+ #: ../../c-api/object.rst:514
618625msgid ""
619626"This is equivalent to the Python expression ``iter(o)``. It returns a new "
620627"iterator for the object argument, or the object itself if the object is "
621628"already an iterator. Raises :exc:`TypeError` and returns ``NULL`` if the "
622629"object cannot be iterated."
623630msgstr ""
624631
625- #: ../../c-api/object.rst:515
632+ #: ../../c-api/object.rst:522
626633msgid ""
627634"This is equivalent to the Python ``__iter__(self): return self`` method. It "
628635"is intended for :term:`iterator` types, to be used in the :c:member:"
629636"`PyTypeObject.tp_iter` slot."
630637msgstr ""
631638
632- #: ../../c-api/object.rst:521
639+ #: ../../c-api/object.rst:528
633640msgid ""
634641"This is the equivalent to the Python expression ``aiter(o)``. Takes an :"
635642"class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it. "
@@ -638,67 +645,67 @@ msgid ""
638645"``NULL`` if the object cannot be iterated."
639646msgstr ""
640647
641- #: ../../c-api/object.rst:531
648+ #: ../../c-api/object.rst:538
642649msgid "Get a pointer to subclass-specific data reserved for *cls*."
643650msgstr ""
644651
645- #: ../../c-api/object.rst:533
652+ #: ../../c-api/object.rst:540
646653msgid ""
647654"The object *o* must be an instance of *cls*, and *cls* must have been "
648655"created using negative :c:member:`PyType_Spec.basicsize`. Python does not "
649656"check this."
650657msgstr ""
651658
652- #: ../../c-api/object.rst:537
659+ #: ../../c-api/object.rst:544
653660msgid "On error, set an exception and return ``NULL``."
654661msgstr ""
655662
656- #: ../../c-api/object.rst:543
663+ #: ../../c-api/object.rst:550
657664msgid ""
658665"Return the size of the instance memory space reserved for *cls*, i.e. the "
659666"size of the memory :c:func:`PyObject_GetTypeData` returns."
660667msgstr ""
661668
662- #: ../../c-api/object.rst:546
669+ #: ../../c-api/object.rst:553
663670msgid ""
664671"This may be larger than requested using :c:member:`-PyType_Spec.basicsize "
665672"<PyType_Spec.basicsize>`; it is safe to use this larger size (e.g. with :c:"
666673"func:`!memset`)."
667674msgstr ""
668675
669- #: ../../c-api/object.rst:549
676+ #: ../../c-api/object.rst:556
670677msgid ""
671678"The type *cls* **must** have been created using negative :c:member:"
672679"`PyType_Spec.basicsize`. Python does not check this."
673680msgstr ""
674681
675- #: ../../c-api/object.rst:553
682+ #: ../../c-api/object.rst:560
676683msgid "On error, set an exception and return a negative value."
677684msgstr ""
678685
679- #: ../../c-api/object.rst:559
686+ #: ../../c-api/object.rst:566
680687msgid ""
681688"Get a pointer to per-item data for a class with :c:macro:"
682689"`Py_TPFLAGS_ITEMS_AT_END`."
683690msgstr ""
684691
685- #: ../../c-api/object.rst:562
692+ #: ../../c-api/object.rst:569
686693msgid ""
687694"On error, set an exception and return ``NULL``. :py:exc:`TypeError` is "
688695"raised if *o* does not have :c:macro:`Py_TPFLAGS_ITEMS_AT_END` set."
689696msgstr ""
690697
691- #: ../../c-api/object.rst:570
698+ #: ../../c-api/object.rst:577
692699msgid "Visit the managed dictionary of *obj*."
693700msgstr ""
694701
695- #: ../../c-api/object.rst:572 ../../c-api/object.rst:581
702+ #: ../../c-api/object.rst:579 ../../c-api/object.rst:588
696703msgid ""
697704"This function must only be called in a traverse function of the type which "
698705"has the :c:macro:`Py_TPFLAGS_MANAGED_DICT` flag set."
699706msgstr ""
700707
701- #: ../../c-api/object.rst:579
708+ #: ../../c-api/object.rst:586
702709msgid "Clear the managed dictionary of *obj*."
703710msgstr ""
704711
0 commit comments