Skip to content

csv module documentation: some redundant statement #108838

Closed as not planned
Closed as not planned
@alextretyak

Description

@alextretyak

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.

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