55msgstr ""
66"Project-Id-Version : Python 3\n "
77"Report-Msgid-Bugs-To : \n "
8- "POT-Creation-Date : 2019-11-15 23:53 +0100\n "
8+ "POT-Creation-Date : 2019-12-05 23:16 +0100\n "
99"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1010"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1111"Language-Team : FRENCH <traductions@lists.afpy.org>\n "
@@ -357,7 +357,7 @@ msgstr ""
357357
358358#: ../Doc/c-api/sys.rst:312
359359msgid ""
360- "Raises an auditing event with any active hooks. Returns zero for success and "
360+ "Raise an auditing event with any active hooks. Return zero for success and "
361361"non-zero with an exception set on failure."
362362msgstr ""
363363
@@ -378,41 +378,40 @@ msgstr ""
378378
379379#: ../Doc/c-api/sys.rst:330
380380msgid ""
381- "Adds to the collection of active auditing hooks. Returns zero for success "
382- "and non-zero on failure. If the runtime has been initialized, also sets an "
383- "error on failure. Hooks added through this API are called for all "
384- "interpreters created by the runtime."
381+ "Append the callable *hook* to the list of active auditing hooks. Return zero "
382+ "for success and non-zero on failure. If the runtime has been initialized, "
383+ "also set an error on failure. Hooks added through this API are called for "
384+ "all interpreters created by the runtime."
385385msgstr ""
386386
387- #: ../Doc/c-api/sys.rst:335
387+ #: ../Doc/c-api/sys.rst:336
388+ msgid ""
389+ "The *userData* pointer is passed into the hook function. Since hook "
390+ "functions may be called from different runtimes, this pointer should not "
391+ "refer directly to Python state."
392+ msgstr ""
393+
394+ #: ../Doc/c-api/sys.rst:340
388395msgid ""
389396"This function is safe to call before :c:func:`Py_Initialize`. When called "
390397"after runtime initialization, existing audit hooks are notified and may "
391398"silently abort the operation by raising an error subclassed from :class:"
392399"`Exception` (other errors will not be silenced)."
393400msgstr ""
394401
395- #: ../Doc/c-api/sys.rst:340
402+ #: ../Doc/c-api/sys.rst:345
396403msgid ""
397404"The hook function is of type :c:type:`int (*)(const char *event, PyObject "
398405"*args, void *userData)`, where *args* is guaranteed to be a :c:type:"
399406"`PyTupleObject`. The hook function is always called with the GIL held by the "
400407"Python interpreter that raised the event."
401408msgstr ""
402409
403- #: ../Doc/c-api/sys.rst:345
404- msgid ""
405- "The *userData* pointer is passed into the hook function. Since hook "
406- "functions may be called from different runtimes, this pointer should not "
407- "refer directly to Python state."
408- msgstr ""
409-
410- #: ../Doc/c-api/sys.rst:349
410+ #: ../Doc/c-api/sys.rst:350
411411msgid ""
412- "See :pep:`578` for a detailed description of auditing. Functions in the "
413- "runtime and standard library that raise events include the details in each "
414- "function's documentation and listed in the :ref:`audit events table <audit-"
415- "events>`."
412+ "See :pep:`578` for a detailed description of auditing. Functions in the "
413+ "runtime and standard library that raise events are listed in the :ref:`audit "
414+ "events table <audit-events>`. Details are in each function's documentation."
416415msgstr ""
417416
418417#: ../Doc/c-api/sys.rst: None
@@ -421,7 +420,7 @@ msgid ""
421420"arguments."
422421msgstr ""
423422
424- #: ../Doc/c-api/sys.rst:356
423+ #: ../Doc/c-api/sys.rst:357
425424msgid ""
426425"If the interpreter is initialized, this function raises a auditing event "
427426"``sys.addaudithook`` with no arguments. If any existing hooks raise an "
@@ -430,11 +429,11 @@ msgid ""
430429"hook has been added unless they control all existing hooks."
431430msgstr ""
432431
433- #: ../Doc/c-api/sys.rst:368
432+ #: ../Doc/c-api/sys.rst:369
434433msgid "Process Control"
435434msgstr ""
436435
437- #: ../Doc/c-api/sys.rst:375
436+ #: ../Doc/c-api/sys.rst:376
438437msgid ""
439438"Print a fatal error message and kill the process. No cleanup is performed. "
440439"This function should only be invoked when a condition is detected that would "
@@ -444,18 +443,18 @@ msgid ""
444443"file:`core` file."
445444msgstr ""
446445
447- #: ../Doc/c-api/sys.rst:389
446+ #: ../Doc/c-api/sys.rst:390
448447msgid ""
449448"Exit the current process. This calls :c:func:`Py_FinalizeEx` and then calls "
450449"the standard C library function ``exit(status)``. If :c:func:"
451450"`Py_FinalizeEx` indicates an error, the exit status is set to 120."
452451msgstr ""
453452
454- #: ../Doc/c-api/sys.rst:393
453+ #: ../Doc/c-api/sys.rst:394
455454msgid "Errors from finalization no longer ignored."
456455msgstr ""
457456
458- #: ../Doc/c-api/sys.rst:403
457+ #: ../Doc/c-api/sys.rst:404
459458msgid ""
460459"Register a cleanup function to be called by :c:func:`Py_FinalizeEx`. The "
461460"cleanup function will be called with no arguments and should return no "
0 commit comments