Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite37ab07

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent77079f9 commite37ab07

File tree

8 files changed

+1798
-1686
lines changed

8 files changed

+1798
-1686
lines changed

‎c-api/dict.po

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version:Python 3.13\n"
1515
"Report-Msgid-Bugs-To:\n"
16-
"POT-Creation-Date:2024-06-07 14:15+0000\n"
16+
"POT-Creation-Date:2024-06-28 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/"
@@ -344,7 +344,14 @@ msgstr ""
344344
"応する値を変更しても大丈夫になりましたが、キーの集合を変更しないことが前提で"
345345
"す。以下に例を示します::"
346346

347-
#:../../c-api/dict.rst:296
347+
#:../../c-api/dict.rst:293
348+
msgid""
349+
"The function is not thread-safe in the :term:`free-threaded <free "
350+
"threading>` build without external synchronization. You can use :c:macro:"
351+
"`Py_BEGIN_CRITICAL_SECTION` to lock the dictionary while iterating over it::"
352+
msgstr""
353+
354+
#:../../c-api/dict.rst:307
348355
msgid""
349356
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
350357
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -361,7 +368,7 @@ msgstr ""
361368
"行います。成功した場合には ``0`` を返し、例外が送出された場合には ``-1`` を返"
362369
"します。"
363370

364-
#:../../c-api/dict.rst:306
371+
#:../../c-api/dict.rst:317
365372
msgid""
366373
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
367374
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -374,7 +381,7 @@ msgstr ""
374381
"性を持たない場合にキー/値ペアのシーケンスを反復することはありません。成功した"
375382
"場合には ``0`` を返し、例外が送出された場合には ``-1`` を返します。"
376383

377-
#:../../c-api/dict.rst:315
384+
#:../../c-api/dict.rst:326
378385
msgid""
379386
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
380387
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -390,49 +397,49 @@ msgstr ""
390397
"は ``-1`` を返します。(戻り値以外は) 等価な Python コードを書くと、以下のよう"
391398
"になります::"
392399

393-
#:../../c-api/dict.rst:329
400+
#:../../c-api/dict.rst:340
394401
msgid""
395402
"Register *callback* as a dictionary watcher. Return a non-negative integer "
396403
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
397404
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
398405
"exception."
399406
msgstr""
400407

401-
#:../../c-api/dict.rst:338
408+
#:../../c-api/dict.rst:349
402409
msgid""
403410
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
404411
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
405412
"given *watcher_id* was never registered.)"
406413
msgstr""
407414

408-
#:../../c-api/dict.rst:346
415+
#:../../c-api/dict.rst:357
409416
msgid""
410417
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
411418
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
412419
"deallocated. Return ``0`` on success or ``-1`` on error."
413420
msgstr""
414421

415-
#:../../c-api/dict.rst:354
422+
#:../../c-api/dict.rst:365
416423
msgid""
417424
"Mark dictionary *dict* as no longer watched. The callback granted "
418425
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
419426
"*dict* is modified or deallocated. The dict must previously have been "
420427
"watched by this watcher. Return ``0`` on success or ``-1`` on error."
421428
msgstr""
422429

423-
#:../../c-api/dict.rst:363
430+
#:../../c-api/dict.rst:374
424431
msgid""
425432
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
426433
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
427434
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
428435
"``PyDict_EVENT_DEALLOCATED``."
429436
msgstr""
430437

431-
#:../../c-api/dict.rst:371
438+
#:../../c-api/dict.rst:382
432439
msgid"Type of a dict watcher callback function."
433440
msgstr""
434441

435-
#:../../c-api/dict.rst:373
442+
#:../../c-api/dict.rst:384
436443
msgid""
437444
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
438445
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -441,22 +448,22 @@ msgid ""
441448
"dictionary and *new_value* will be ``NULL``."
442449
msgstr""
443450

444-
#:../../c-api/dict.rst:379
451+
#:../../c-api/dict.rst:390
445452
msgid""
446453
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
447454
"dict is merged into it. To maintain efficiency of this operation, per-key "
448455
"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
449456
"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
450457
msgstr""
451458

452-
#:../../c-api/dict.rst:385
459+
#:../../c-api/dict.rst:396
453460
msgid""
454461
"The callback may inspect but must not modify *dict*; doing so could have "
455462
"unpredictable effects, including infinite recursion. Do not trigger Python "
456463
"code execution in the callback, as it could modify the dict as a side effect."
457464
msgstr""
458465

459-
#:../../c-api/dict.rst:389
466+
#:../../c-api/dict.rst:400
460467
msgid""
461468
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
462469
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -465,20 +472,20 @@ msgid ""
465472
"again."
466473
msgstr""
467474

468-
#:../../c-api/dict.rst:395
475+
#:../../c-api/dict.rst:406
469476
msgid""
470477
"Callbacks occur before the notified modification to *dict* takes place, so "
471478
"the prior state of *dict* can be inspected."
472479
msgstr""
473480

474-
#:../../c-api/dict.rst:398
481+
#:../../c-api/dict.rst:409
475482
msgid""
476483
"If the callback sets an exception, it must return ``-1``; this exception "
477484
"will be printed as an unraisable exception using :c:func:"
478485
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
479486
msgstr""
480487

481-
#:../../c-api/dict.rst:402
488+
#:../../c-api/dict.rst:413
482489
msgid""
483490
"There may already be a pending exception set on entry to the callback. In "
484491
"this case, the callback should return ``0`` with the same exception still "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp