From fe647edb1058db531cfeea322d2dc5d29d0674d9 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Thu, 21 Feb 2008 16:21:15 +0000 Subject: [PATCH] Replace "looks ugly" with a hopefully more concrete explanation of why line wrapping is bad - it disrupts the visual structure of the code. --- pep-0008.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pep-0008.txt b/pep-0008.txt index 7ca1ffcda..179246cef 100644 --- a/pep-0008.txt +++ b/pep-0008.txt @@ -77,10 +77,11 @@ Code lay-out There are still many devices around that are limited to 80 character lines; plus, limiting windows to 80 characters makes it possible to have - several windows side-by-side. The default wrapping on such devices looks - ugly. Therefore, please limit all lines to a maximum of 79 characters. - For flowing long blocks of text (docstrings or comments), limiting the - length to 72 characters is recommended. + several windows side-by-side. The default wrapping on such devices + disrupts the visual structure of the code, making it more difficult to + understand. Therefore, please limit all lines to a maximum of 79 + characters. For flowing long blocks of text (docstrings or comments), + limiting the length to 72 characters is recommended. The preferred way of wrapping long lines is by using Python's implied line continuation inside parentheses, brackets and braces. If necessary, you