Skip to content

Commit 9a857e6

Browse files
kmarilleauJulienPalard
authored andcommitted
Functions (python#331)
* Functions * Fix 'debugger' in Functions
1 parent 0b86ca3 commit 9a857e6

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

library/functions.po

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2018-09-15 21:52+0200\n"
9-
"PO-Revision-Date: 2018-09-15 23:04+0200\n"
9+
"PO-Revision-Date: 2018-10-04 11:46+0200\n"
1010
"Last-Translator: Julien Palard <julien@palard.fr>\n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
1212
"Language: fr\n"
1313
"MIME-Version: 1.0\n"
1414
"Content-Type: text/plain; charset=UTF-8\n"
1515
"Content-Transfer-Encoding: 8bit\n"
16-
"X-Generator: Poedit 2.0.4\n"
16+
"X-Generator: Poedit 2.1.1\n"
1717

1818
#: ../Doc/library/functions.rst:5 ../Doc/library/functions.rst:11
1919
msgid "Built-in Functions"
@@ -386,10 +386,12 @@ msgstr ""
386386

387387
#: ../Doc/library/functions.rst:115 ../Doc/library/functions.rst:582
388388
#: ../Doc/library/functions.rst:770
389+
#, fuzzy
389390
msgid "*x* is now a positional-only parameter."
390-
msgstr ""
391+
msgstr "*x* est désormais un argument optionnel."
391392

392393
#: ../Doc/library/functions.rst:120
394+
#, fuzzy
393395
msgid ""
394396
"This function drops you into the debugger at the call site. Specifically, "
395397
"it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight "
@@ -400,6 +402,15 @@ msgid ""
400402
"other function and :func:`breakpoint` will automatically call that, allowing "
401403
"you to drop into the debugger of choice."
402404
msgstr ""
405+
"Cette fonction vous place dans le débogueur lorsqu'elle est appelée. Plus "
406+
"précisément, elle appelle :func:`sys.breakpointhook`, en lui passant les "
407+
"arguments ``args`` et ``kws``. Par défaut, ``sys.breakpointhook()`` "
408+
"appelle :func:`pdb.set_trace()` qui n'attend aucun arguments. Dans ce cas, "
409+
"c'est purement une fonction de commodité donc vous n'avez pas à importer "
410+
"explicitement :mod:`pdb` ou à taper plus de code pour entrer dans le "
411+
"débogueur. Cependant, :func:`sys.breakpointhook` peut-être paramétré pour "
412+
"une autre fonction et :func:`breakpoint` l'appellera automatiquement, vous "
413+
"permettant ainsi de basculer dans le débogueur de votre choix."
403414

404415
#: ../Doc/library/functions.rst:136
405416
msgid ""

0 commit comments

Comments
 (0)