@@ -5,27 +5,27 @@ msgid ""
55msgstr ""
66"Project-Id-Version : Python 3.6\n "
77"Report-Msgid-Bugs-To : \n "
8- "POT-Creation-Date : 2019-04-10 09:35+0200 \n "
9- "PO-Revision-Date : 2019-04-24 11:30+0200 \n "
10- "Last-Translator : Jules Lasne <jules.lasne@gmail.com> \n "
8+ "POT-Creation-Date : 2018-12-21 09:48+0100 \n "
9+ "PO-Revision-Date : 2019-03-21 21:35+0100 \n "
10+ "Last-Translator : Antoine Wecxsteen \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.2.1 \n "
16+ "X-Generator : Poedit 2.0.6 \n "
1717
1818#: ../Doc/faq/programming.rst:5
1919msgid "Programming FAQ"
20- msgstr ""
20+ msgstr "FAQ de programmation "
2121
2222#: ../Doc/faq/programming.rst:8
2323msgid "Contents"
2424msgstr "Sommaire"
2525
2626#: ../Doc/faq/programming.rst:12
2727msgid "General Questions"
28- msgstr ""
28+ msgstr "Questions générales "
2929
3030#: ../Doc/faq/programming.rst:15
3131msgid ""
@@ -194,30 +194,35 @@ msgstr ""
194194
195195#: ../Doc/faq/programming.rst:119
196196msgid "Core Language"
197- msgstr ""
197+ msgstr "Fondamentaux "
198198
199199#: ../Doc/faq/programming.rst:122
200200msgid "Why am I getting an UnboundLocalError when the variable has a value?"
201201msgstr ""
202+ "Pourquoi obtiens-je une UnboundLocalError alors qu'une variable a une "
203+ "valeur ?"
202204
203205#: ../Doc/faq/programming.rst:124
204206msgid ""
205207"It can be a surprise to get the UnboundLocalError in previously working code "
206208"when it is modified by adding an assignment statement somewhere in the body "
207209"of a function."
208210msgstr ""
211+ "Il est parfois surprenant d'avoir une UnboundLocalError dans du code correct "
212+ "jusqu'à présent, quand celui-ci est modifié en ajoutant une instruction "
213+ "d'affectation quelque part dans le corps d'une fonction."
209214
210215#: ../Doc/faq/programming.rst:128
211216msgid "This code:"
212- msgstr ""
217+ msgstr "Le code suivant : "
213218
214219#: ../Doc/faq/programming.rst:136
215220msgid "works, but this code:"
216- msgstr ""
221+ msgstr "fonctionne, mais le suivant : "
217222
218223#: ../Doc/faq/programming.rst:143
219224msgid "results in an UnboundLocalError:"
220- msgstr ""
225+ msgstr "lève une UnboundLocalError : "
221226
222227#: ../Doc/faq/programming.rst:150
223228msgid ""
@@ -228,12 +233,20 @@ msgid ""
228233"Consequently when the earlier ``print(x)`` attempts to print the "
229234"uninitialized local variable and an error results."
230235msgstr ""
236+ "Ceci s'explique par le fait que quand une variable est affectée dans un "
237+ "contexte, cette variable devient locale à ce contexte et remplace toute "
238+ "variable du même nom du contexte appelant. Vu que la dernière instruction "
239+ "dans foo affecte une nouvelle valeur à ``x``, le compilateur la traite comme "
240+ "une nouvelle variable. Par conséquent, quand le ``print(x)`` essaye "
241+ "d'afficher la variable non initialisée, une erreur se produit."
231242
232243#: ../Doc/faq/programming.rst:157
233244msgid ""
234245"In the example above you can access the outer scope variable by declaring it "
235246"global:"
236247msgstr ""
248+ "Dans l'exemple ci-dessus, la variable du contexte appelant est accessible en "
249+ "la déclarant globale :"
237250
238251#: ../Doc/faq/programming.rst:168
239252msgid ""
0 commit comments