77msgstr ""
88"Project-Id-Version :Python 3.13\n "
99"Report-Msgid-Bugs-To :\n "
10- "POT-Creation-Date :2024-09-01 22:24+0800 \n "
10+ "POT-Creation-Date :2025-06-29 00:17+0000 \n "
1111"PO-Revision-Date :2018-05-23 14:30+0000\n "
1212"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -150,15 +150,29 @@ msgstr ""
150150
151151#: ../../c-api/capsule.rst:108
152152msgid ""
153+ "This function splits *name* on the ``.`` character, and imports the first "
154+ "element. It then processes further elements using attribute lookups."
155+ msgstr ""
156+
157+ #: ../../c-api/capsule.rst:111
158+ msgid ""
153159"Return the capsule's internal *pointer* on success. On failure, set an "
154160"exception and return ``NULL``."
155161msgstr ""
156162
157- #: ../../c-api/capsule.rst:111
163+ #: ../../c-api/capsule.rst:116
164+ msgid ""
165+ "If *name* points to an attribute of some submodule or subpackage, this "
166+ "submodule or subpackage must be previously imported using other means (for "
167+ "example, by using :c:func:`PyImport_ImportModule`) for the attribute lookups "
168+ "to succeed."
169+ msgstr ""
170+
171+ #: ../../c-api/capsule.rst:121
158172msgid "*no_block* has no effect anymore."
159173msgstr ""
160174
161- #: ../../c-api/capsule.rst:117
175+ #: ../../c-api/capsule.rst:127
162176msgid ""
163177"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
164178"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
@@ -167,41 +181,41 @@ msgid ""
167181"compared.)"
168182msgstr ""
169183
170- #: ../../c-api/capsule.rst:123
184+ #: ../../c-api/capsule.rst:133
171185msgid ""
172186"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
173187"to any of the accessors (any function starting with ``PyCapsule_Get``) are "
174188"guaranteed to succeed."
175189msgstr ""
176190
177- #: ../../c-api/capsule.rst:127
191+ #: ../../c-api/capsule.rst:137
178192msgid ""
179193"Return a nonzero value if the object is valid and matches the name passed "
180194"in. Return ``0`` otherwise. This function will not fail."
181195msgstr ""
182196
183- #: ../../c-api/capsule.rst:133
197+ #: ../../c-api/capsule.rst:143
184198msgid "Set the context pointer inside *capsule* to *context*."
185199msgstr ""
186200
187- #: ../../c-api/capsule.rst:135 ../../c-api/capsule.rst:142
188- #: ../../c-api/capsule.rst:151 ../../c-api/capsule.rst:159
201+ #: ../../c-api/capsule.rst:145 ../../c-api/capsule.rst:152
202+ #: ../../c-api/capsule.rst:161 ../../c-api/capsule.rst:169
189203msgid ""
190204"Return ``0`` on success. Return nonzero and set an exception on failure."
191205msgstr ""
192206
193- #: ../../c-api/capsule.rst:140
207+ #: ../../c-api/capsule.rst:150
194208msgid "Set the destructor inside *capsule* to *destructor*."
195209msgstr ""
196210
197- #: ../../c-api/capsule.rst:147
211+ #: ../../c-api/capsule.rst:157
198212msgid ""
199213"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
200214"outlive the capsule. If the previous *name* stored in the capsule was not "
201215"``NULL``, no attempt is made to free it."
202216msgstr ""
203217
204- #: ../../c-api/capsule.rst:156
218+ #: ../../c-api/capsule.rst:166
205219msgid ""
206220"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
207221"``NULL``."