@@ -395,9 +395,9 @@ msgstr ""
395
395
"UTF-8 étant le standard moderne de facto, ``encoding=\" utf-8\" `` est "
396
396
"recommandé à moins que vous ne sachiez que vous devez utiliser un autre "
397
397
"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."
401
401
402
402
#: tutorial/inputoutput.rst:313
403
403
msgid ""
@@ -424,14 +424,14 @@ msgid ""
424
424
"It is good practice to use the :keyword:`with` keyword when dealing with "
425
425
"file objects. The advantage is that the file is properly closed after its "
426
426
"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::"
429
429
msgstr ""
430
430
"C'est une bonne pratique d'utiliser le mot-clé :keyword:`with` lorsque vous "
431
431
"traitez des fichiers. Vous fermez ainsi toujours correctement le fichier, "
432
432
"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` ::"
435
435
436
436
#: tutorial/inputoutput.rst:334
437
437
msgid ""
@@ -499,8 +499,8 @@ msgstr ""
499
499
500
500
#: tutorial/inputoutput.rst:380
501
501
msgid ""
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 "
504
504
"line of the file if the file doesn't end in a newline. This makes the "
505
505
"return value unambiguous; if ``f.readline()`` returns an empty string, the "
506
506
"end of the file has been reached, while a blank line is represented by "
@@ -686,9 +686,9 @@ msgid ""
686
686
"JSON files must be encoded in UTF-8. Use ``encoding=\" utf-8\" `` when opening "
687
687
"JSON file as a :term:`text file` for both of reading and writing."
688
688
msgstr ""
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."
692
692
693
693
#: tutorial/inputoutput.rst:506
694
694
msgid ""
0 commit comments