@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.13\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2024-05-11 02:33 +0000\n "
16+ "POT-Creation-Date : 2024-05-24 14:15 +0000\n "
1717"PO-Revision-Date : 2021-06-28 00:48+0000\n "
1818"Last-Translator : tomo, 2024\n "
1919"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -156,7 +156,7 @@ msgstr ""
156156msgid "If the key is missing, set *\\ *result* to ``NULL`` and return ``0``."
157157msgstr ""
158158
159- #: ../../c-api/dict.rst:110 ../../c-api/dict.rst:206
159+ #: ../../c-api/dict.rst:110 ../../c-api/dict.rst:207
160160msgid "On error, raise an exception and return ``-1``."
161161msgstr "エラーの場合例外を送出し ``-1`` を返します。"
162162
@@ -248,64 +248,63 @@ msgid ""
248248"For clarity: if you have a strong reference to *default_value* before "
249249"calling this function, then after it returns, you hold a strong reference to "
250250"both *default_value* and *\\ *result* (if it's not ``NULL``). These may refer "
251- "to the same object: in that case you hold two separate references to it. .. "
252- "versionadded:: 3.13"
251+ "to the same object: in that case you hold two separate references to it."
253252msgstr ""
254253
255- #: ../../c-api/dict.rst:199
254+ #: ../../c-api/dict.rst:200
256255msgid ""
257256"Remove *key* from dictionary *p* and optionally return the removed value. Do "
258257"not raise :exc:`KeyError` if the key missing."
259258msgstr ""
260259
261- #: ../../c-api/dict.rst:202
260+ #: ../../c-api/dict.rst:203
262261msgid ""
263262"If the key is present, set *\\ *result* to a new reference to the removed "
264263"value if *result* is not ``NULL``, and return ``1``."
265264msgstr ""
266265
267- #: ../../c-api/dict.rst:204
266+ #: ../../c-api/dict.rst:205
268267msgid ""
269268"If the key is missing, set *\\ *result* to ``NULL`` if *result* is not "
270269"``NULL``, and return ``0``."
271270msgstr ""
272271
273- #: ../../c-api/dict.rst:208
272+ #: ../../c-api/dict.rst:209
274273msgid ""
275274"This is similar to :meth:`dict.pop`, but without the default value and not "
276275"raising :exc:`KeyError` if the key missing."
277276msgstr ""
278277
279- #: ../../c-api/dict.rst:216
278+ #: ../../c-api/dict.rst:217
280279msgid ""
281280"Similar to :c:func:`PyDict_Pop`, but *key* is specified as a :c:expr:`const "
282281"char*` UTF-8 encoded bytes string, rather than a :c:expr:`PyObject*`."
283282msgstr ""
284283
285- #: ../../c-api/dict.rst:225
284+ #: ../../c-api/dict.rst:226
286285msgid ""
287286"Return a :c:type:`PyListObject` containing all the items from the dictionary."
288287msgstr "辞書内の全ての要素対が入った :c:type:`PyListObject` を返します。"
289288
290- #: ../../c-api/dict.rst:230
289+ #: ../../c-api/dict.rst:231
291290msgid ""
292291"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
293292msgstr "辞書内の全てのキーが入った :c:type:`PyListObject` を返します。"
294293
295- #: ../../c-api/dict.rst:235
294+ #: ../../c-api/dict.rst:236
296295msgid ""
297296"Return a :c:type:`PyListObject` containing all the values from the "
298297"dictionary *p*."
299298msgstr "辞書 *p* 内の全ての値が入った :c:type:`PyListObject` を返します。"
300299
301- #: ../../c-api/dict.rst:243
300+ #: ../../c-api/dict.rst:244
302301msgid ""
303302"Return the number of items in the dictionary. This is equivalent to "
304303"``len(p)`` on a dictionary."
305304msgstr ""
306305"辞書内の要素の数を返します。辞書に対して ``len(p)`` を実行するのと同じです。"
307306
308- #: ../../c-api/dict.rst:249
307+ #: ../../c-api/dict.rst:250
309308msgid ""
310309"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
311310"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -331,11 +330,11 @@ msgstr ""
331330"この値は内部的な辞書構造体のオフセットを表現しており、構造体はスパースなの"
332331"で、オフセットの値に一貫性がないためです。"
333332
334- #: ../../c-api/dict.rst:260
333+ #: ../../c-api/dict.rst:261
335334msgid "For example::"
336335msgstr "例えば::"
337336
338- #: ../../c-api/dict.rst:270
337+ #: ../../c-api/dict.rst:271
339338msgid ""
340339"The dictionary *p* should not be mutated during iteration. It is safe to "
341340"modify the values of the keys as you iterate over the dictionary, but only "
@@ -345,7 +344,7 @@ msgstr ""
345344"応する値を変更しても大丈夫になりましたが、キーの集合を変更しないことが前提で"
346345"す。以下に例を示します::"
347346
348- #: ../../c-api/dict.rst:295
347+ #: ../../c-api/dict.rst:296
349348msgid ""
350349"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
351350"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -362,7 +361,7 @@ msgstr ""
362361"行います。成功した場合には ``0`` を返し、例外が送出された場合には ``-1`` を返"
363362"します。"
364363
365- #: ../../c-api/dict.rst:305
364+ #: ../../c-api/dict.rst:306
366365msgid ""
367366"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
368367"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -375,7 +374,7 @@ msgstr ""
375374"性を持たない場合にキー/値ペアのシーケンスを反復することはありません。成功した"
376375"場合には ``0`` を返し、例外が送出された場合には ``-1`` を返します。"
377376
378- #: ../../c-api/dict.rst:314
377+ #: ../../c-api/dict.rst:315
379378msgid ""
380379"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
381380"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -391,49 +390,49 @@ msgstr ""
391390"は ``-1`` を返します。(戻り値以外は) 等価な Python コードを書くと、以下のよう"
392391"になります::"
393392
394- #: ../../c-api/dict.rst:328
393+ #: ../../c-api/dict.rst:329
395394msgid ""
396395"Register *callback* as a dictionary watcher. Return a non-negative integer "
397396"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
398397"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
399398"exception."
400399msgstr ""
401400
402- #: ../../c-api/dict.rst:337
401+ #: ../../c-api/dict.rst:338
403402msgid ""
404403"Clear watcher identified by *watcher_id* previously returned from :c:func:"
405404"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
406405"given *watcher_id* was never registered.)"
407406msgstr ""
408407
409- #: ../../c-api/dict.rst:345
408+ #: ../../c-api/dict.rst:346
410409msgid ""
411410"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
412411"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
413412"deallocated. Return ``0`` on success or ``-1`` on error."
414413msgstr ""
415414
416- #: ../../c-api/dict.rst:353
415+ #: ../../c-api/dict.rst:354
417416msgid ""
418417"Mark dictionary *dict* as no longer watched. The callback granted "
419418"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
420419"*dict* is modified or deallocated. The dict must previously have been "
421420"watched by this watcher. Return ``0`` on success or ``-1`` on error."
422421msgstr ""
423422
424- #: ../../c-api/dict.rst:362
423+ #: ../../c-api/dict.rst:363
425424msgid ""
426425"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
427426"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
428427"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
429428"``PyDict_EVENT_DEALLOCATED``."
430429msgstr ""
431430
432- #: ../../c-api/dict.rst:370
431+ #: ../../c-api/dict.rst:371
433432msgid "Type of a dict watcher callback function."
434433msgstr ""
435434
436- #: ../../c-api/dict.rst:372
435+ #: ../../c-api/dict.rst:373
437436msgid ""
438437"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
439438"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -442,22 +441,22 @@ msgid ""
442441"dictionary and *new_value* will be ``NULL``."
443442msgstr ""
444443
445- #: ../../c-api/dict.rst:378
444+ #: ../../c-api/dict.rst:379
446445msgid ""
447446"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
448447"dict is merged into it. To maintain efficiency of this operation, per-key "
449448"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
450449"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
451450msgstr ""
452451
453- #: ../../c-api/dict.rst:384
452+ #: ../../c-api/dict.rst:385
454453msgid ""
455454"The callback may inspect but must not modify *dict*; doing so could have "
456455"unpredictable effects, including infinite recursion. Do not trigger Python "
457456"code execution in the callback, as it could modify the dict as a side effect."
458457msgstr ""
459458
460- #: ../../c-api/dict.rst:388
459+ #: ../../c-api/dict.rst:389
461460msgid ""
462461"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
463462"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -466,20 +465,20 @@ msgid ""
466465"again."
467466msgstr ""
468467
469- #: ../../c-api/dict.rst:394
468+ #: ../../c-api/dict.rst:395
470469msgid ""
471470"Callbacks occur before the notified modification to *dict* takes place, so "
472471"the prior state of *dict* can be inspected."
473472msgstr ""
474473
475- #: ../../c-api/dict.rst:397
474+ #: ../../c-api/dict.rst:398
476475msgid ""
477476"If the callback sets an exception, it must return ``-1``; this exception "
478477"will be printed as an unraisable exception using :c:func:"
479478"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
480479msgstr ""
481480
482- #: ../../c-api/dict.rst:401
481+ #: ../../c-api/dict.rst:402
483482msgid ""
484483"There may already be a pending exception set on entry to the callback. In "
485484"this case, the callback should return ``0`` with the same exception still "
@@ -496,10 +495,10 @@ msgstr "object"
496495msgid "dictionary"
497496msgstr "dictionary"
498497
499- #: ../../c-api/dict.rst:241
498+ #: ../../c-api/dict.rst:242
500499msgid "built-in function"
501500msgstr "組み込み関数"
502501
503- #: ../../c-api/dict.rst:241
502+ #: ../../c-api/dict.rst:242
504503msgid "len"
505504msgstr "len"
0 commit comments