Functions (#331)

* Functions

* Fix 'debugger' in Functions
This commit is contained in:
kmarilleau 2018-10-04 12:04:47 +02:00 committed by Julien Palard
parent 0b86ca335e
commit 9a857e66ae

View File

@ -6,14 +6,14 @@ msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-09-15 21:52+0200\n" "POT-Creation-Date: 2018-09-15 21:52+0200\n"
"PO-Revision-Date: 2018-09-15 23:04+0200\n" "PO-Revision-Date: 2018-10-04 11:46+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n" "Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.4\n" "X-Generator: Poedit 2.1.1\n"
#: ../Doc/library/functions.rst:5 ../Doc/library/functions.rst:11 #: ../Doc/library/functions.rst:5 ../Doc/library/functions.rst:11
msgid "Built-in Functions" msgid "Built-in Functions"
@ -386,10 +386,12 @@ msgstr ""
#: ../Doc/library/functions.rst:115 ../Doc/library/functions.rst:582 #: ../Doc/library/functions.rst:115 ../Doc/library/functions.rst:582
#: ../Doc/library/functions.rst:770 #: ../Doc/library/functions.rst:770
#, fuzzy
msgid "*x* is now a positional-only parameter." msgid "*x* is now a positional-only parameter."
msgstr "" msgstr "*x* est désormais un argument optionnel."
#: ../Doc/library/functions.rst:120 #: ../Doc/library/functions.rst:120
#, fuzzy
msgid "" msgid ""
"This function drops you into the debugger at the call site. Specifically, " "This function drops you into the debugger at the call site. Specifically, "
"it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight " "it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight "
@ -400,6 +402,15 @@ msgid ""
"other function and :func:`breakpoint` will automatically call that, allowing " "other function and :func:`breakpoint` will automatically call that, allowing "
"you to drop into the debugger of choice." "you to drop into the debugger of choice."
msgstr "" msgstr ""
"Cette fonction vous place dans le débogueur lorsqu'elle est appelée. Plus "
"précisément, elle appelle :func:`sys.breakpointhook`, en lui passant les "
"arguments ``args`` et ``kws``. Par défaut, ``sys.breakpointhook()`` "
"appelle :func:`pdb.set_trace()` qui n'attend aucun arguments. Dans ce cas, "
"c'est purement une fonction de commodité donc vous n'avez pas à importer "
"explicitement :mod:`pdb` ou à taper plus de code pour entrer dans le "
"débogueur. Cependant, :func:`sys.breakpointhook` peut-être paramétré pour "
"une autre fonction et :func:`breakpoint` l'appellera automatiquement, vous "
"permettant ainsi de basculer dans le débogueur de votre choix."
#: ../Doc/library/functions.rst:136 #: ../Doc/library/functions.rst:136
msgid "" msgid ""