@@ -14,7 +14,7 @@ msgid ""
14
14
msgstr ""
15
15
"Project-Id-Version :Python 3.8\n "
16
16
"Report-Msgid-Bugs-To :\n "
17
- "POT-Creation-Date :2019-11-16 11:56 +0000\n "
17
+ "POT-Creation-Date :2019-11-27 12:02 +0000\n "
18
18
"PO-Revision-Date :2017-02-16 17:39+0000\n "
19
19
"Last-Translator :Osamu NAKAMURA, 2019\n "
20
20
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -427,8 +427,8 @@ msgstr ""
427
427
428
428
#: ../../c-api/sys.rst:312
429
429
msgid ""
430
- "Raises an auditing event with any active hooks.Returns zero for success and"
431
- " non-zero with an exception set on failure."
430
+ "Raise an auditing event with any active hooks.Return zero for success and "
431
+ "non-zero with an exception set on failure."
432
432
msgstr ""
433
433
434
434
#: ../../c-api/sys.rst:315
@@ -448,41 +448,40 @@ msgstr ""
448
448
449
449
#: ../../c-api/sys.rst:330
450
450
msgid ""
451
- "Adds to thecollection of active auditing hooks.Returns zero for success "
452
- "and non-zero on failure. If the runtime has been initialized, also sets an "
453
- "error on failure. Hooks added through this API are called for all "
454
- "interpreters created by the runtime."
451
+ "Append the callable *hook* to thelist of active auditing hooks.Return zero"
452
+ " for success and non-zero on failure. If the runtime has been initialized, "
453
+ "also set an error on failure. Hooks added through this API are called for "
454
+ "all interpreters created by the runtime."
455
455
msgstr ""
456
456
457
- #: ../../c-api/sys.rst:335
457
+ #: ../../c-api/sys.rst:336
458
+ msgid ""
459
+ "The *userData* pointer is passed into the hook function. Since hook "
460
+ "functions may be called from different runtimes, this pointer should not "
461
+ "refer directly to Python state."
462
+ msgstr ""
463
+
464
+ #: ../../c-api/sys.rst:340
458
465
msgid ""
459
466
"This function is safe to call before :c:func:`Py_Initialize`. When called "
460
467
"after runtime initialization, existing audit hooks are notified and may "
461
468
"silently abort the operation by raising an error subclassed from "
462
469
":class:`Exception` (other errors will not be silenced)."
463
470
msgstr ""
464
471
465
- #: ../../c-api/sys.rst:340
472
+ #: ../../c-api/sys.rst:345
466
473
msgid ""
467
474
"The hook function is of type :c:type:`int (*)(const char *event, PyObject "
468
475
"*args, void *userData)`, where *args* is guaranteed to be a "
469
476
":c:type:`PyTupleObject`. The hook function is always called with the GIL "
470
477
"held by the Python interpreter that raised the event."
471
478
msgstr ""
472
479
473
- #: ../../c-api/sys.rst:345
474
- msgid ""
475
- "The *userData* pointer is passed into the hook function. Since hook "
476
- "functions may be called from different runtimes, this pointer should not "
477
- "refer directly to Python state."
478
- msgstr ""
479
-
480
- #: ../../c-api/sys.rst:349
480
+ #: ../../c-api/sys.rst:350
481
481
msgid ""
482
- "See :pep:`578` for a detailed description of auditing. Functions in the "
483
- "runtime and standard library that raise events include the details in each "
484
- "function's documentation and listed in the :ref:`audit events table <audit-"
485
- "events>`."
482
+ "See :pep:`578` for a detailed description of auditing. Functions in the "
483
+ "runtime and standard library that raise events are listed in the :ref:`audit"
484
+ " events table <audit-events>`. Details are in each function's documentation."
486
485
msgstr ""
487
486
488
487
#: ../../c-api/sys.rstNone
@@ -491,7 +490,7 @@ msgid ""
491
490
"arguments."
492
491
msgstr ""
493
492
494
- #: ../../c-api/sys.rst:356
493
+ #: ../../c-api/sys.rst:357
495
494
msgid ""
496
495
"If the interpreter is initialized, this function raises a auditing event "
497
496
"``sys.addaudithook`` with no arguments. If any existing hooks raise an "
@@ -500,11 +499,11 @@ msgid ""
500
499
"hook has been added unless they control all existing hooks."
501
500
msgstr ""
502
501
503
- #: ../../c-api/sys.rst:368
502
+ #: ../../c-api/sys.rst:369
504
503
msgid "Process Control"
505
504
msgstr "プロセス制御"
506
505
507
- #: ../../c-api/sys.rst:375
506
+ #: ../../c-api/sys.rst:376
508
507
msgid ""
509
508
"Print a fatal error message and kill the process. No cleanup is performed. "
510
509
"This function should only be invoked when a condition is detected that would"
@@ -518,7 +517,7 @@ msgstr ""
518
517
"例えば、オブジェクト管理が崩壊していると思われるときにのみ、呼び出されるようにしなければなりません。Unixでは、標準 C ライブラリ関数 "
519
518
":c:func:`abort` を呼び出して :file:`core` を生成しようと試みます。"
520
519
521
- #: ../../c-api/sys.rst:389
520
+ #: ../../c-api/sys.rst:390
522
521
msgid ""
523
522
"Exit the current process. This calls :c:func:`Py_FinalizeEx` and then calls"
524
523
" the standard C library function ``exit(status)``. If "
@@ -527,11 +526,11 @@ msgstr ""
527
526
"現在のプロセスを終了します。:c:func:`Py_FinalizeEx` を呼び出した後、標準Cライブラリ関数の ``exit(status)`` "
528
527
"を呼び出します。:c:func:`Py_FinalizeEx` がエラーになった場合、終了ステータスは 120に設定されます。"
529
528
530
- #: ../../c-api/sys.rst:393
529
+ #: ../../c-api/sys.rst:394
531
530
msgid "Errors from finalization no longer ignored."
532
531
msgstr "終了処理のエラーは無視されなくなりました。"
533
532
534
- #: ../../c-api/sys.rst:403
533
+ #: ../../c-api/sys.rst:404
535
534
msgid ""
536
535
"Register a cleanup function to be called by :c:func:`Py_FinalizeEx`. The "
537
536
"cleanup function will be called with no arguments and should return no "