From here:
If csvfile is a file object, it should be opened with
newline=''
.
It looks like this statement is useless/redundant for csv.reader (i.e. it is useful only for csv.writer), as newline=None
[by default] works fine on any platform.
From here:
If csvfile is a file object, it should be opened with
newline=''
.
It looks like this statement is useless/redundant for csv.reader (i.e. it is useful only for csv.writer), as newline=None
[by default] works fine on any platform.
Thanks for the post. Can you open an issue on GitHub with a proposed change to the wording?