|
7 | 7 | msgstr ""
|
8 | 8 | "Project-Id-Version:Python 3.12\n"
|
9 | 9 | "Report-Msgid-Bugs-To:\n"
|
10 |
| -"POT-Creation-Date:2024-01-18 00:03+0000\n" |
| 10 | +"POT-Creation-Date:2024-01-25 06:20+0000\n" |
11 | 11 | "PO-Revision-Date:2018-05-23 14:07+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-"
|
@@ -581,13 +581,13 @@ msgstr ""
|
581 | 581 | #:../../c-api/structures.rst:553
|
582 | 582 | msgid""
|
583 | 583 | "Can only be used as part of :c:member:`Py_tp_members <PyTypeObject."
|
584 |
| -"tp_members>` :c:type:`slot <PyTypeSlot>` when creating a class using " |
| 584 | +"tp_members>` :c:type:`slot <PyType_Slot>` when creating a class using " |
585 | 585 | "negative :c:member:`~PyType_Spec.basicsize`. It is mandatory in that case."
|
586 | 586 | msgstr""
|
587 | 587 |
|
588 | 588 | #:../../c-api/structures.rst:558
|
589 | 589 | msgid""
|
590 |
| -"This flag is only used in :c:type:`PyTypeSlot`. When setting :c:member:" |
| 590 | +"This flag is only used in :c:type:`PyType_Slot`. When setting :c:member:" |
591 | 591 | "`~PyTypeObject.tp_members` during class creation, Python clears it and sets :"
|
592 | 592 | "c:member:`PyMemberDef.offset` to the offset from the ``PyObject`` struct."
|
593 | 593 | msgstr""
|
@@ -802,38 +802,38 @@ msgstr ""
|
802 | 802 |
|
803 | 803 | #:../../c-api/structures.rst:696
|
804 | 804 | msgid""
|
805 |
| -"Optional C function to set or delete the attribute, if omitted the attribute " |
806 |
| -"isreadonly." |
| 805 | +"Optional C function to set or delete the attribute. If ``NULL``, the " |
| 806 | +"attributeisread-only." |
807 | 807 | msgstr""
|
808 | 808 |
|
809 |
| -#:../../c-api/structures.rst:700 |
| 809 | +#:../../c-api/structures.rst:701 |
810 | 810 | msgid"optional docstring"
|
811 | 811 | msgstr"可選的文件字串"
|
812 | 812 |
|
813 |
| -#:../../c-api/structures.rst:704 |
| 813 | +#:../../c-api/structures.rst:705 |
814 | 814 | msgid""
|
815 | 815 | "Optional function pointer, providing additional data for getter and setter."
|
816 | 816 | msgstr""
|
817 | 817 |
|
818 |
| -#:../../c-api/structures.rst:706 |
| 818 | +#:../../c-api/structures.rst:709 |
819 | 819 | msgid""
|
820 | 820 | "The ``get`` function takes one :c:expr:`PyObject*` parameter (the instance) "
|
821 |
| -"and a function pointer (the associated ``closure``)::" |
| 821 | +"and a function pointer (the associated ``closure``):" |
822 | 822 | msgstr""
|
823 | 823 |
|
824 |
| -#:../../c-api/structures.rst:711 |
| 824 | +#:../../c-api/structures.rst:712 |
825 | 825 | msgid""
|
826 | 826 | "It should return a new reference on success or ``NULL`` with a set exception "
|
827 | 827 | "on failure."
|
828 | 828 | msgstr""
|
829 | 829 |
|
830 |
| -#:../../c-api/structures.rst:714 |
| 830 | +#:../../c-api/structures.rst:717 |
831 | 831 | msgid""
|
832 | 832 | "``set`` functions take two :c:expr:`PyObject*` parameters (the instance and "
|
833 |
| -"the value to be set) and a function pointer (the associated ``closure``)::" |
| 833 | +"the value to be set) and a function pointer (the associated ``closure``):" |
834 | 834 | msgstr""
|
835 | 835 |
|
836 |
| -#:../../c-api/structures.rst:719 |
| 836 | +#:../../c-api/structures.rst:720 |
837 | 837 | msgid""
|
838 | 838 | "In case the attribute should be deleted the second parameter is ``NULL``. "
|
839 | 839 | "Should return ``0`` on success or ``-1`` with a set exception on failure."
|
|