@@ -13,7 +13,7 @@ msgid ""
13
13
msgstr ""
14
14
"Project-Id-Version : Python 3.13\n "
15
15
"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 "
17
17
"PO-Revision-Date : 2021-06-28 00:48+0000\n "
18
18
"Last-Translator : tomo, 2024\n "
19
19
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -156,7 +156,7 @@ msgstr ""
156
156
msgid "If the key is missing, set *\\ *result* to ``NULL`` and return ``0``."
157
157
msgstr ""
158
158
159
- #: ../../c-api/dict.rst:110 ../../c-api/dict.rst:206
159
+ #: ../../c-api/dict.rst:110 ../../c-api/dict.rst:207
160
160
msgid "On error, raise an exception and return ``-1``."
161
161
msgstr "エラーの場合例外を送出し ``-1`` を返します。"
162
162
@@ -248,64 +248,63 @@ msgid ""
248
248
"For clarity: if you have a strong reference to *default_value* before "
249
249
"calling this function, then after it returns, you hold a strong reference to "
250
250
"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."
253
252
msgstr ""
254
253
255
- #: ../../c-api/dict.rst:199
254
+ #: ../../c-api/dict.rst:200
256
255
msgid ""
257
256
"Remove *key* from dictionary *p* and optionally return the removed value. Do "
258
257
"not raise :exc:`KeyError` if the key missing."
259
258
msgstr ""
260
259
261
- #: ../../c-api/dict.rst:202
260
+ #: ../../c-api/dict.rst:203
262
261
msgid ""
263
262
"If the key is present, set *\\ *result* to a new reference to the removed "
264
263
"value if *result* is not ``NULL``, and return ``1``."
265
264
msgstr ""
266
265
267
- #: ../../c-api/dict.rst:204
266
+ #: ../../c-api/dict.rst:205
268
267
msgid ""
269
268
"If the key is missing, set *\\ *result* to ``NULL`` if *result* is not "
270
269
"``NULL``, and return ``0``."
271
270
msgstr ""
272
271
273
- #: ../../c-api/dict.rst:208
272
+ #: ../../c-api/dict.rst:209
274
273
msgid ""
275
274
"This is similar to :meth:`dict.pop`, but without the default value and not "
276
275
"raising :exc:`KeyError` if the key missing."
277
276
msgstr ""
278
277
279
- #: ../../c-api/dict.rst:216
278
+ #: ../../c-api/dict.rst:217
280
279
msgid ""
281
280
"Similar to :c:func:`PyDict_Pop`, but *key* is specified as a :c:expr:`const "
282
281
"char*` UTF-8 encoded bytes string, rather than a :c:expr:`PyObject*`."
283
282
msgstr ""
284
283
285
- #: ../../c-api/dict.rst:225
284
+ #: ../../c-api/dict.rst:226
286
285
msgid ""
287
286
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
288
287
msgstr "辞書内の全ての要素対が入った :c:type:`PyListObject` を返します。"
289
288
290
- #: ../../c-api/dict.rst:230
289
+ #: ../../c-api/dict.rst:231
291
290
msgid ""
292
291
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
293
292
msgstr "辞書内の全てのキーが入った :c:type:`PyListObject` を返します。"
294
293
295
- #: ../../c-api/dict.rst:235
294
+ #: ../../c-api/dict.rst:236
296
295
msgid ""
297
296
"Return a :c:type:`PyListObject` containing all the values from the "
298
297
"dictionary *p*."
299
298
msgstr "辞書 *p* 内の全ての値が入った :c:type:`PyListObject` を返します。"
300
299
301
- #: ../../c-api/dict.rst:243
300
+ #: ../../c-api/dict.rst:244
302
301
msgid ""
303
302
"Return the number of items in the dictionary. This is equivalent to "
304
303
"``len(p)`` on a dictionary."
305
304
msgstr ""
306
305
"辞書内の要素の数を返します。辞書に対して ``len(p)`` を実行するのと同じです。"
307
306
308
- #: ../../c-api/dict.rst:249
307
+ #: ../../c-api/dict.rst:250
309
308
msgid ""
310
309
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
311
310
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -331,11 +330,11 @@ msgstr ""
331
330
"この値は内部的な辞書構造体のオフセットを表現しており、構造体はスパースなの"
332
331
"で、オフセットの値に一貫性がないためです。"
333
332
334
- #: ../../c-api/dict.rst:260
333
+ #: ../../c-api/dict.rst:261
335
334
msgid "For example::"
336
335
msgstr "例えば::"
337
336
338
- #: ../../c-api/dict.rst:270
337
+ #: ../../c-api/dict.rst:271
339
338
msgid ""
340
339
"The dictionary *p* should not be mutated during iteration. It is safe to "
341
340
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -345,7 +344,7 @@ msgstr ""
345
344
"応する値を変更しても大丈夫になりましたが、キーの集合を変更しないことが前提で"
346
345
"す。以下に例を示します::"
347
346
348
- #: ../../c-api/dict.rst:295
347
+ #: ../../c-api/dict.rst:296
349
348
msgid ""
350
349
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
351
350
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -362,7 +361,7 @@ msgstr ""
362
361
"行います。成功した場合には ``0`` を返し、例外が送出された場合には ``-1`` を返"
363
362
"します。"
364
363
365
- #: ../../c-api/dict.rst:305
364
+ #: ../../c-api/dict.rst:306
366
365
msgid ""
367
366
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
368
367
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -375,7 +374,7 @@ msgstr ""
375
374
"性を持たない場合にキー/値ペアのシーケンスを反復することはありません。成功した"
376
375
"場合には ``0`` を返し、例外が送出された場合には ``-1`` を返します。"
377
376
378
- #: ../../c-api/dict.rst:314
377
+ #: ../../c-api/dict.rst:315
379
378
msgid ""
380
379
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
381
380
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -391,49 +390,49 @@ msgstr ""
391
390
"は ``-1`` を返します。(戻り値以外は) 等価な Python コードを書くと、以下のよう"
392
391
"になります::"
393
392
394
- #: ../../c-api/dict.rst:328
393
+ #: ../../c-api/dict.rst:329
395
394
msgid ""
396
395
"Register *callback* as a dictionary watcher. Return a non-negative integer "
397
396
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
398
397
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
399
398
"exception."
400
399
msgstr ""
401
400
402
- #: ../../c-api/dict.rst:337
401
+ #: ../../c-api/dict.rst:338
403
402
msgid ""
404
403
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
405
404
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
406
405
"given *watcher_id* was never registered.)"
407
406
msgstr ""
408
407
409
- #: ../../c-api/dict.rst:345
408
+ #: ../../c-api/dict.rst:346
410
409
msgid ""
411
410
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
412
411
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
413
412
"deallocated. Return ``0`` on success or ``-1`` on error."
414
413
msgstr ""
415
414
416
- #: ../../c-api/dict.rst:353
415
+ #: ../../c-api/dict.rst:354
417
416
msgid ""
418
417
"Mark dictionary *dict* as no longer watched. The callback granted "
419
418
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
420
419
"*dict* is modified or deallocated. The dict must previously have been "
421
420
"watched by this watcher. Return ``0`` on success or ``-1`` on error."
422
421
msgstr ""
423
422
424
- #: ../../c-api/dict.rst:362
423
+ #: ../../c-api/dict.rst:363
425
424
msgid ""
426
425
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
427
426
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
428
427
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
429
428
"``PyDict_EVENT_DEALLOCATED``."
430
429
msgstr ""
431
430
432
- #: ../../c-api/dict.rst:370
431
+ #: ../../c-api/dict.rst:371
433
432
msgid "Type of a dict watcher callback function."
434
433
msgstr ""
435
434
436
- #: ../../c-api/dict.rst:372
435
+ #: ../../c-api/dict.rst:373
437
436
msgid ""
438
437
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
439
438
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -442,22 +441,22 @@ msgid ""
442
441
"dictionary and *new_value* will be ``NULL``."
443
442
msgstr ""
444
443
445
- #: ../../c-api/dict.rst:378
444
+ #: ../../c-api/dict.rst:379
446
445
msgid ""
447
446
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
448
447
"dict is merged into it. To maintain efficiency of this operation, per-key "
449
448
"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
450
449
"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
451
450
msgstr ""
452
451
453
- #: ../../c-api/dict.rst:384
452
+ #: ../../c-api/dict.rst:385
454
453
msgid ""
455
454
"The callback may inspect but must not modify *dict*; doing so could have "
456
455
"unpredictable effects, including infinite recursion. Do not trigger Python "
457
456
"code execution in the callback, as it could modify the dict as a side effect."
458
457
msgstr ""
459
458
460
- #: ../../c-api/dict.rst:388
459
+ #: ../../c-api/dict.rst:389
461
460
msgid ""
462
461
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
463
462
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -466,20 +465,20 @@ msgid ""
466
465
"again."
467
466
msgstr ""
468
467
469
- #: ../../c-api/dict.rst:394
468
+ #: ../../c-api/dict.rst:395
470
469
msgid ""
471
470
"Callbacks occur before the notified modification to *dict* takes place, so "
472
471
"the prior state of *dict* can be inspected."
473
472
msgstr ""
474
473
475
- #: ../../c-api/dict.rst:397
474
+ #: ../../c-api/dict.rst:398
476
475
msgid ""
477
476
"If the callback sets an exception, it must return ``-1``; this exception "
478
477
"will be printed as an unraisable exception using :c:func:"
479
478
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
480
479
msgstr ""
481
480
482
- #: ../../c-api/dict.rst:401
481
+ #: ../../c-api/dict.rst:402
483
482
msgid ""
484
483
"There may already be a pending exception set on entry to the callback. In "
485
484
"this case, the callback should return ``0`` with the same exception still "
@@ -496,10 +495,10 @@ msgstr "object"
496
495
msgid "dictionary"
497
496
msgstr "dictionary"
498
497
499
- #: ../../c-api/dict.rst:241
498
+ #: ../../c-api/dict.rst:242
500
499
msgid "built-in function"
501
500
msgstr "組み込み関数"
502
501
503
- #: ../../c-api/dict.rst:241
502
+ #: ../../c-api/dict.rst:242
504
503
msgid "len"
505
504
msgstr "len"
0 commit comments