Skip to content

Commit 4b22c77

Browse files
Update Lib/csv.py
Change comments to keep a more reasonable line length and use imperative. Co-authored-by: C.A.M. Gerlach <[email protected]>
1 parent 149938a commit 4b22c77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/csv.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,8 @@ def has_header(self, sample):
446446

447447
# special case when all columns are strings and columnTypes has been emptied
448448
if not columnTypes and col_are_strings and columns > 0:
449-
# If there are only columns of strings and no column types specified, we update the dictionary to store the average length of all strings
449+
# If there are only columns of strings and no column types specified,
450+
# update the dictionary to store the average length of all strings
450451
columnTypes[0] = average_size // columns
451452

452453
for col, colType in columnTypes.items():

0 commit comments

Comments
 (0)