From b17122d389e1a45cd71c113c190f9c100be76272 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Sun, 27 Dec 2020 12:23:04 +0100 Subject: [PATCH] tutorial/inputoutput.po (#1508) Automerge of PR #1508 by @JulienPalard Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com> --- tutorial/inputoutput.po | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index 61b1c9cc..92adbdf1 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-12-17 16:05+0100\n" -"PO-Revision-Date: 2020-11-18 16:55+0100\n" +"PO-Revision-Date: 2020-12-23 19:23+0100\n" "Last-Translator: Jules Lasne \n" "Language-Team: FRENCH \n" "Language: fr\n" @@ -433,6 +433,9 @@ msgid "" "close()`` to close the file and immediately free up any system resources " "used by it." msgstr "" +"Si vous n'utilisez pas le mot clé :keyword:`with`, vous devez appeler ``f." +"close()`` pour fermer le fichier, et ainsi immédiatement libérer les " +"ressources qu'il utilise." #: tutorial/inputoutput.rst:335 msgid "" @@ -440,6 +443,10 @@ msgid "" "``f.close()`` **might** result in the arguments of ``f.write()`` not being " "completely written to the disk, even if the program exits successfully." msgstr "" +"Appeler ``f.write()`` sans utiliser le mot clé :keyword:`!with` ni appeler " +"``f.close()`` **pourrait** mener à une situation où les arguments de ``f." +"write()`` ne seraient pas complètement écrits sur le disque, même si le " +"programme se termine avec succès." #: tutorial/inputoutput.rst:343 msgid ""