Skip to content

Commit 9686653

Browse files
Update Lib/csv.py
Change line 397 : "w" in uppercase. Co-authored-by: C.A.M. Gerlach <[email protected]>
1 parent 141cf5d commit 9686653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def has_header(self, sample):
394394
# can't be determined, it is assumed to be a string in which case
395395
# the length of the string is the determining factor: if all of the
396396
# rows except for the first are the same length, it's a header.
397-
# when the strings have varying length, the average length of all
397+
# When the strings have varying length, the average length of all
398398
# strings becomes a determining factor.
399399
# Finally, a 'vote' is taken at the end for each column, adding or
400400
# subtracting from the likelihood of the first row being a header.

0 commit comments

Comments
 (0)