@@ -395,9 +395,9 @@ msgstr ""
395395"UTF-8 étant le standard moderne de facto, ``encoding=\" utf-8\" `` est "
396396"recommandé à moins que vous ne sachiez que vous devez utiliser un autre "
397397"encodage. L’ajout d’un ``'b'`` au mode ouvre le fichier en :dfn:`mode "
398- "binaire`. Les données en mode binaire sont lues et écrites sous forme d’objets : "
399- "class:`bytes`. Vous ne pouvez pas spécifier *encoding* lorsque vous ouvrez "
400- "un fichier en mode binaire."
398+ "binaire`. Les données en mode binaire sont lues et écrites sous forme "
399+ "d’objets : class:`bytes`. Vous ne pouvez pas spécifier *encoding* lorsque "
400+ "vous ouvrez un fichier en mode binaire."
401401
402402#: tutorial/inputoutput.rst:313
403403msgid ""
@@ -424,14 +424,14 @@ msgid ""
424424"It is good practice to use the :keyword:`with` keyword when dealing with "
425425"file objects. The advantage is that the file is properly closed after its "
426426"suite finishes, even if an exception is raised at some point. Using :"
427- "keyword:`!with` is also much shorter than writing equivalent :keyword:`try` "
428- "\\ -\\ :keyword:`finally` blocks::"
427+ "keyword:`!with` is also much shorter than writing equivalent :keyword:"
428+ "`try` \\ -\\ :keyword:`finally` blocks::"
429429msgstr ""
430430"C'est une bonne pratique d'utiliser le mot-clé :keyword:`with` lorsque vous "
431431"traitez des fichiers. Vous fermez ainsi toujours correctement le fichier, "
432432"même si une exception est levée. Utiliser :keyword:`!with` est aussi "
433- "beaucoup plus court que d'utiliser l'équivalent avec des blocs :keyword:`try` "
434- "\\ …\\ :keyword:`finally` ::"
433+ "beaucoup plus court que d'utiliser l'équivalent avec des blocs :keyword:"
434+ "`try` \\ …\\ :keyword:`finally` ::"
435435
436436#: tutorial/inputoutput.rst:334
437437msgid ""
@@ -499,8 +499,8 @@ msgstr ""
499499
500500#: tutorial/inputoutput.rst:380
501501msgid ""
502- "``f.readline()`` reads a single line from the file; a newline character (`` "
503- "\\ n``) is left at the end of the string, and is only omitted on the last "
502+ "``f.readline()`` reads a single line from the file; a newline character "
503+ "(`` \\ n``) is left at the end of the string, and is only omitted on the last "
504504"line of the file if the file doesn't end in a newline. This makes the "
505505"return value unambiguous; if ``f.readline()`` returns an empty string, the "
506506"end of the file has been reached, while a blank line is represented by "
@@ -686,9 +686,9 @@ msgid ""
686686"JSON files must be encoded in UTF-8. Use ``encoding=\" utf-8\" `` when opening "
687687"JSON file as a :term:`text file` for both of reading and writing."
688688msgstr ""
689- "Les fichiers JSON doivent être encodés en UTF-8. Utilisez ``encoding= "
690- "\" utf-8\" `` lorsque vous ouvrez un fichier JSON en tant que :term:`fichier "
691- "texte<text file>`, que ce soit en lecture ou en écriture."
689+ "Les fichiers JSON doivent être encodés en UTF-8. Utilisez "
690+ "``encoding= \" utf-8\" `` lorsque vous ouvrez un fichier JSON en tant que :term:"
691+ "`fichier texte<text file>`, que ce soit en lecture ou en écriture."
692692
693693#: tutorial/inputoutput.rst:506
694694msgid ""
0 commit comments