@@ -13,7 +13,7 @@ msgid ""
13
13
msgstr ""
14
14
"Project-Id-Version : Python 3.14\n "
15
15
"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 "
17
17
"PO-Revision-Date : 2021-06-28 00:47+0000\n "
18
18
"Last-Translator : tomo, 2024\n "
19
19
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -194,17 +194,31 @@ msgstr ""
194
194
195
195
#: ../../c-api/capsule.rst:108
196
196
msgid ""
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 ""
197
203
"Return the capsule's internal *pointer* on success. On failure, set an "
198
204
"exception and return ``NULL``."
199
205
msgstr ""
200
206
"成功した場合、カプセルの内部 *ポインタ* を返します。失敗した場合、例外を設定"
201
207
"して ``NULL`` を返します。"
202
208
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
204
218
msgid "*no_block* has no effect anymore."
205
219
msgstr ""
206
220
207
- #: ../../c-api/capsule.rst:117
221
+ #: ../../c-api/capsule.rst:127
208
222
msgid ""
209
223
"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
210
224
"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
@@ -217,36 +231,36 @@ msgstr ""
217
231
"ポインタを格納していて、内部の name が引数 *name* とマッチします。 (name の比"
218
232
"較方法については :c:func:`PyCapsule_GetPointer` を参照)"
219
233
220
- #: ../../c-api/capsule.rst:123
234
+ #: ../../c-api/capsule.rst:133
221
235
msgid ""
222
236
"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
223
237
"to any of the accessors (any function starting with ``PyCapsule_Get``) are "
224
238
"guaranteed to succeed."
225
239
msgstr ""
226
240
227
- #: ../../c-api/capsule.rst:127
241
+ #: ../../c-api/capsule.rst:137
228
242
msgid ""
229
243
"Return a nonzero value if the object is valid and matches the name passed "
230
244
"in. Return ``0`` otherwise. This function will not fail."
231
245
msgstr ""
232
246
"オブジェクトが有効で name がマッチした場合に非 ``0`` を、それ以外の場合に "
233
247
"``0`` を返します。この関数は絶対に失敗しません。"
234
248
235
- #: ../../c-api/capsule.rst:133
249
+ #: ../../c-api/capsule.rst:143
236
250
msgid "Set the context pointer inside *capsule* to *context*."
237
251
msgstr "*capsule* 内部のコンテキストポインタを *context* に設定します。"
238
252
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
241
255
msgid ""
242
256
"Return ``0`` on success. Return nonzero and set an exception on failure."
243
257
msgstr "成功したら ``0`` を、失敗したら例外を設定して非 ``0`` を返します。"
244
258
245
- #: ../../c-api/capsule.rst:140
259
+ #: ../../c-api/capsule.rst:150
246
260
msgid "Set the destructor inside *capsule* to *destructor*."
247
261
msgstr "*capsule* 内部のデストラクタを *destructor* に設定します。"
248
262
249
- #: ../../c-api/capsule.rst:147
263
+ #: ../../c-api/capsule.rst:157
250
264
msgid ""
251
265
"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
252
266
"outlive the capsule. If the previous *name* stored in the capsule was not "
@@ -256,7 +270,7 @@ msgstr ""
256
270
"れは *capsule* よりも長い寿命を持つ必要があります。もしすでに *capsule* に非 "
257
271
"``NULL`` の *name* が保存されていた場合、それに対する解放は行われません。"
258
272
259
- #: ../../c-api/capsule.rst:156
273
+ #: ../../c-api/capsule.rst:166
260
274
msgid ""
261
275
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
262
276
"``NULL``."
0 commit comments