@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.14\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2025-06-27 14:20+0000\n "
16+ "POT-Creation-Date : 2025-07-04 14:20+0000\n "
1717"PO-Revision-Date : 2021-06-28 00:47+0000\n "
1818"Last-Translator : tomo, 2024\n "
1919"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -194,17 +194,31 @@ msgstr ""
194194
195195#: ../../c-api/capsule.rst:108
196196msgid ""
197+ "This function splits *name* on the ``.`` character, and imports the first "
198+ "element. It then processes further elements using attribute lookups."
199+ msgstr ""
200+
201+ #: ../../c-api/capsule.rst:111
202+ msgid ""
197203"Return the capsule's internal *pointer* on success. On failure, set an "
198204"exception and return ``NULL``."
199205msgstr ""
200206"成功した場合、カプセルの内部 *ポインタ* を返します。失敗した場合、例外を設定"
201207"して ``NULL`` を返します。"
202208
203- #: ../../c-api/capsule.rst:111
209+ #: ../../c-api/capsule.rst:116
210+ msgid ""
211+ "If *name* points to an attribute of some submodule or subpackage, this "
212+ "submodule or subpackage must be previously imported using other means (for "
213+ "example, by using :c:func:`PyImport_ImportModule`) for the attribute lookups "
214+ "to succeed."
215+ msgstr ""
216+
217+ #: ../../c-api/capsule.rst:121
204218msgid "*no_block* has no effect anymore."
205219msgstr ""
206220
207- #: ../../c-api/capsule.rst:117
221+ #: ../../c-api/capsule.rst:127
208222msgid ""
209223"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
210224"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
@@ -217,36 +231,36 @@ msgstr ""
217231"ポインタを格納していて、内部の name が引数 *name* とマッチします。 (name の比"
218232"較方法については :c:func:`PyCapsule_GetPointer` を参照)"
219233
220- #: ../../c-api/capsule.rst:123
234+ #: ../../c-api/capsule.rst:133
221235msgid ""
222236"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
223237"to any of the accessors (any function starting with ``PyCapsule_Get``) are "
224238"guaranteed to succeed."
225239msgstr ""
226240
227- #: ../../c-api/capsule.rst:127
241+ #: ../../c-api/capsule.rst:137
228242msgid ""
229243"Return a nonzero value if the object is valid and matches the name passed "
230244"in. Return ``0`` otherwise. This function will not fail."
231245msgstr ""
232246"オブジェクトが有効で name がマッチした場合に非 ``0`` を、それ以外の場合に "
233247"``0`` を返します。この関数は絶対に失敗しません。"
234248
235- #: ../../c-api/capsule.rst:133
249+ #: ../../c-api/capsule.rst:143
236250msgid "Set the context pointer inside *capsule* to *context*."
237251msgstr "*capsule* 内部のコンテキストポインタを *context* に設定します。"
238252
239- #: ../../c-api/capsule.rst:135 ../../c-api/capsule.rst:142
240- #: ../../c-api/capsule.rst:151 ../../c-api/capsule.rst:159
253+ #: ../../c-api/capsule.rst:145 ../../c-api/capsule.rst:152
254+ #: ../../c-api/capsule.rst:161 ../../c-api/capsule.rst:169
241255msgid ""
242256"Return ``0`` on success. Return nonzero and set an exception on failure."
243257msgstr "成功したら ``0`` を、失敗したら例外を設定して非 ``0`` を返します。"
244258
245- #: ../../c-api/capsule.rst:140
259+ #: ../../c-api/capsule.rst:150
246260msgid "Set the destructor inside *capsule* to *destructor*."
247261msgstr "*capsule* 内部のデストラクタを *destructor* に設定します。"
248262
249- #: ../../c-api/capsule.rst:147
263+ #: ../../c-api/capsule.rst:157
250264msgid ""
251265"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
252266"outlive the capsule. If the previous *name* stored in the capsule was not "
@@ -256,7 +270,7 @@ msgstr ""
256270"れは *capsule* よりも長い寿命を持つ必要があります。もしすでに *capsule* に非 "
257271"``NULL`` の *name* が保存されていた場合、それに対する解放は行われません。"
258272
259- #: ../../c-api/capsule.rst:156
273+ #: ../../c-api/capsule.rst:166
260274msgid ""
261275"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
262276"``NULL``."
0 commit comments