Skip to content

Commit c9cd73e

Browse files
maurycypicnixz
andauthored
Update Lib/csv.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 3e7beaa commit c9cd73e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/csv.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,6 @@ def _guess_delimiter(self, data, delimiters):
389389
items = list(counts.items())
390390
missed_lines = num_lines - sum(counts.values())
391391
if missed_lines:
392-
# charFrequency[char][0] can only be deduced now
393-
# as it cannot be obtained when parsing the lines.
394392
# Store the number of lines 'char' was missing from.
395393
items.append((0, missed_lines))
396394
if len(items) == 1 and items[0][0] == 0:

0 commit comments

Comments
 (0)