@@ -6,8 +6,8 @@ msgstr ""
66"Project-Id-Version : Python 3\n "
77"Report-Msgid-Bugs-To : \n "
88"POT-Creation-Date : 2021-09-23 16:16+0200\n "
9- "PO-Revision-Date : 2021-09-04 02:20 +0200\n "
10- "Last-Translator : Jean Abou Samra <jean@abou-samra .fr>\n "
9+ "PO-Revision-Date : 2021-09-25 11:49 +0200\n "
10+ "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 "
@@ -171,22 +171,20 @@ msgstr ""
171171"l'exécution de l'instruction :keyword:`try` est terminée."
172172
173173#: tutorial/errors.rst:104
174- #, fuzzy
175174msgid ""
176175"If an exception occurs during execution of the :keyword:`try` clause, the "
177176"rest of the clause is skipped. Then, if its type matches the exception "
178177"named after the :keyword:`except` keyword, the *except clause* is executed, "
179178"and then execution continues after the try/except block."
180179msgstr ""
181- "si une exception intervient pendant l'exécution de la clause `` try``, le "
182- "reste de cette clause est sauté. Si le type d'exception levée correspond à "
183- "un nom indiqué après le mot-clé :keyword:`except`, la clause ``except`` "
184- "correspondante est exécutée, puis l'exécution continue après l'instruction : "
185- "keyword:`try `."
180+ "si une exception intervient pendant l'exécution de la clause :keyword:` try`, "
181+ "le reste de cette clause est sauté. Si le type d'exception levée correspond "
182+ "à un nom indiqué après le mot-clé :keyword:`except`, la clause ``except`` "
183+ "correspondante est exécutée, puis l'exécution continue après le bloc ``try``/ "
184+ "``except` `."
186185
187186# dernier élément de l'énumération
188187#: tutorial/errors.rst:109
189- #, fuzzy
190188msgid ""
191189"If an exception occurs which does not match the exception named in the "
192190"*except clause*, it is passed on to outer :keyword:`try` statements; if no "
@@ -200,7 +198,6 @@ msgstr ""
200198"comme indiqué ci-dessus."
201199
202200#: tutorial/errors.rst:114
203- #, fuzzy
204201msgid ""
205202"A :keyword:`try` statement may have more than one *except clause*, to "
206203"specify handlers for different exceptions. At most one handler will be "
@@ -218,7 +215,6 @@ msgstr ""
218215"d'un *n*-uplet entre parenthèses, comme dans cet exemple ::"
219216
220217#: tutorial/errors.rst:123
221- #, fuzzy
222218msgid ""
223219"A class in an :keyword:`except` clause is compatible with an exception if it "
224220"is the same class or a base class thereof (but not the other way around --- "
@@ -232,7 +228,6 @@ msgstr ""
232228"suivant affiche B, C et D dans cet ordre ::"
233229
234230#: tutorial/errors.rst:147
235- #, fuzzy
236231msgid ""
237232"Note that if the *except clauses* were reversed (with ``except B`` first), "
238233"it would have printed B, B, B --- the first matching *except clause* is "
@@ -243,16 +238,15 @@ msgstr ""
243238"correspond est déclenchée."
244239
245240#: tutorial/errors.rst:150
246- #, fuzzy
247241msgid ""
248242"All exceptions inherit from :exc:`BaseException`, and so it can be used to "
249243"serve as a wildcard. Use this with extreme caution, since it is easy to mask "
250244"a real programming error in this way! It can also be used to print an error "
251245"message and then re-raise the exception (allowing a caller to handle the "
252246"exception as well)::"
253247msgstr ""
254- "La dernière clause ``except`` peut omettre le(s) nom(s) d'exception(s) et "
255- "joue alors le rôle de joker. C'est toutefois à utiliser avec beaucoup de "
248+ "Toutes les exceptions héritent de :exc:`BaseException`, il est donc possible "
249+ "de s'en servir comme un joker. C'est toutefois à utiliser avec beaucoup de "
256250"précautions car il est facile de masquer une vraie erreur de programmation "
257251"par ce biais. Elle peut aussi être utilisée pour afficher un message "
258252"d'erreur avant de propager l'exception (en permettant à un appelant de gérer "
@@ -265,15 +259,14 @@ msgid ""
265259msgstr ""
266260
267261#: tutorial/errors.rst:172
268- #, fuzzy
269262msgid ""
270263"The :keyword:`try` ... :keyword:`except` statement has an optional *else "
271264"clause*, which, when present, must follow all *except clauses*. It is "
272265"useful for code that must be executed if the *try clause* does not raise an "
273266"exception. For example::"
274267msgstr ""
275268"L'instruction :keyword:`try` ... :keyword:`except` accepte également une "
276- "* clause else* optionnelle qui, lorsqu'elle est présente, doit se placer "
269+ "clause `` else`` optionnelle qui, lorsqu'elle est présente, doit se placer "
277270"après toutes les clauses ``except``. Elle est utile pour du code qui doit "
278271"être exécuté lorsqu'aucune exception n'a été levée par la clause ``try``. "
279272"Par exemple ::"
@@ -301,7 +294,6 @@ msgstr ""
301294"dépendent du type de l'exception."
302295
303296#: tutorial/errors.rst:195
304- #, fuzzy
305297msgid ""
306298"The *except clause* may specify a variable after the exception name. The "
307299"variable is bound to an exception instance with the arguments stored in "
@@ -327,7 +319,6 @@ msgstr ""
327319"message des exceptions non gérées."
328320
329321#: tutorial/errors.rst:222
330- #, fuzzy
331322msgid ""
332323"Exception handlers don't just handle exceptions if they occur immediately in "
333324"the *try clause*, but also if they occur inside functions that are called "
@@ -391,7 +382,6 @@ msgstr ""
391382"Cela peut être utile lorsque vous transformez des exceptions. Par exemple ::"
392383
393384#: tutorial/errors.rst:305
394- #, fuzzy
395385msgid ""
396386"Exception chaining happens automatically when an exception is raised inside "
397387"an :keyword:`except` or :keyword:`finally` section. This can be disabled by "
0 commit comments