Skip to content

Error in the documentation for csv.reader #113046

Closed
@pscabot

Description

@pscabot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    • Status

      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions