Documentation
In the description for csv.reader function it says:
Return a reader object which will iterate over lines in the given csvfile. csvfile can be any object which supports the iterator protocol and returns a string each time its __next__() method is called
(The bold emphasis is mine)
However it returns a list as it's properly documented at csvreader.__next()__
Linked PRs
Documentation
In the description for csv.reader function it says:
Return a reader object which will iterate over lines in the given csvfile. csvfile can be any object which supports the iterator protocol and returns a string each time its
__next__()method is called(The bold emphasis is mine)
However it returns a
listas it's properly documented atcsvreader.__next()__Linked PRs