|
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version:Python 3.13\n" |
9 | 9 | "Report-Msgid-Bugs-To:\n" |
10 | | -"POT-Creation-Date:2024-09-27 00:14+0000\n" |
| 10 | +"POT-Creation-Date:2024-12-14 00:14+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-" |
@@ -623,74 +623,81 @@ msgstr "" |
623 | 623 |
|
624 | 624 | #:../../c-api/object.rst:514 |
625 | 625 | msgid"" |
| 626 | +"This is equivalent to the Python ``__iter__(self): return self`` method. It " |
| 627 | +"is intended for :term:`iterator` types, to be used in the :c:member:" |
| 628 | +"`PyTypeObject.tp_iter` slot." |
| 629 | +msgstr"" |
| 630 | + |
| 631 | +#:../../c-api/object.rst:520 |
| 632 | +msgid"" |
626 | 633 | "This is the equivalent to the Python expression ``aiter(o)``. Takes an :" |
627 | 634 | "class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it. " |
628 | 635 | "This is typically a new iterator but if the argument is an :class:" |
629 | 636 | "`AsyncIterator`, this returns itself. Raises :exc:`TypeError` and returns " |
630 | 637 | "``NULL`` if the object cannot be iterated." |
631 | 638 | msgstr"" |
632 | 639 |
|
633 | | -#:../../c-api/object.rst:524 |
| 640 | +#:../../c-api/object.rst:530 |
634 | 641 | msgid"Get a pointer to subclass-specific data reserved for *cls*." |
635 | 642 | msgstr"" |
636 | 643 |
|
637 | | -#:../../c-api/object.rst:526 |
| 644 | +#:../../c-api/object.rst:532 |
638 | 645 | msgid"" |
639 | 646 | "The object *o* must be an instance of *cls*, and *cls* must have been " |
640 | 647 | "created using negative :c:member:`PyType_Spec.basicsize`. Python does not " |
641 | 648 | "check this." |
642 | 649 | msgstr"" |
643 | 650 |
|
644 | | -#:../../c-api/object.rst:530 |
| 651 | +#:../../c-api/object.rst:536 |
645 | 652 | msgid"On error, set an exception and return ``NULL``." |
646 | 653 | msgstr"" |
647 | 654 |
|
648 | | -#:../../c-api/object.rst:536 |
| 655 | +#:../../c-api/object.rst:542 |
649 | 656 | msgid"" |
650 | 657 | "Return the size of the instance memory space reserved for *cls*, i.e. the " |
651 | 658 | "size of the memory :c:func:`PyObject_GetTypeData` returns." |
652 | 659 | msgstr"" |
653 | 660 |
|
654 | | -#:../../c-api/object.rst:539 |
| 661 | +#:../../c-api/object.rst:545 |
655 | 662 | msgid"" |
656 | 663 | "This may be larger than requested using :c:member:`-PyType_Spec.basicsize " |
657 | 664 | "<PyType_Spec.basicsize>`; it is safe to use this larger size (e.g. with :c:" |
658 | 665 | "func:`!memset`)." |
659 | 666 | msgstr"" |
660 | 667 |
|
661 | | -#:../../c-api/object.rst:542 |
| 668 | +#:../../c-api/object.rst:548 |
662 | 669 | msgid"" |
663 | 670 | "The type *cls* **must** have been created using negative :c:member:" |
664 | 671 | "`PyType_Spec.basicsize`. Python does not check this." |
665 | 672 | msgstr"" |
666 | 673 |
|
667 | | -#:../../c-api/object.rst:546 |
| 674 | +#:../../c-api/object.rst:552 |
668 | 675 | msgid"On error, set an exception and return a negative value." |
669 | 676 | msgstr"" |
670 | 677 |
|
671 | | -#:../../c-api/object.rst:552 |
| 678 | +#:../../c-api/object.rst:558 |
672 | 679 | msgid"" |
673 | 680 | "Get a pointer to per-item data for a class with :c:macro:" |
674 | 681 | "`Py_TPFLAGS_ITEMS_AT_END`." |
675 | 682 | msgstr"" |
676 | 683 |
|
677 | | -#:../../c-api/object.rst:555 |
| 684 | +#:../../c-api/object.rst:561 |
678 | 685 | msgid"" |
679 | 686 | "On error, set an exception and return ``NULL``. :py:exc:`TypeError` is " |
680 | 687 | "raised if *o* does not have :c:macro:`Py_TPFLAGS_ITEMS_AT_END` set." |
681 | 688 | msgstr"" |
682 | 689 |
|
683 | | -#:../../c-api/object.rst:563 |
| 690 | +#:../../c-api/object.rst:569 |
684 | 691 | msgid"Visit the managed dictionary of *obj*." |
685 | 692 | msgstr"" |
686 | 693 |
|
687 | | -#:../../c-api/object.rst:565../../c-api/object.rst:574 |
| 694 | +#:../../c-api/object.rst:571../../c-api/object.rst:580 |
688 | 695 | msgid"" |
689 | 696 | "This function must only be called in a traverse function of the type which " |
690 | 697 | "has the :c:macro:`Py_TPFLAGS_MANAGED_DICT` flag set." |
691 | 698 | msgstr"" |
692 | 699 |
|
693 | | -#:../../c-api/object.rst:572 |
| 700 | +#:../../c-api/object.rst:578 |
694 | 701 | msgid"Clear the managed dictionary of *obj*." |
695 | 702 | msgstr"" |
696 | 703 |
|
|