From c5f4d78b56cd880b0ea0885c62e17cacde9141b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric?= Date: Mon, 17 Jan 2022 00:44:11 -0500 Subject: [PATCH] PEP 8: update text about backlash (#2244) --- pep-0008.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0008.txt b/pep-0008.txt index f4ae81d5c8f..3939cba1572 100644 --- a/pep-0008.txt +++ b/pep-0008.txt @@ -227,8 +227,8 @@ parentheses. These should be used in preference to using a backslash for line continuation. Backslashes may still be appropriate at times. For example, long, -multiple ``with``-statements cannot use implicit continuation, so -backslashes are acceptable:: +multiple ``with``-statements could not use implicit continuation +before Python 3.10, so backslashes were acceptable for that case:: with open('/path/to/some/file/you/want/to/read') as file_1, \ open('/path/to/some/file/being/written', 'w') as file_2: