Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Iterating over an opened file should be strings/bytes #1240

Open
@jakebailey

Description

@jakebailey
with open("something.txt") as f:
    for line in f:
        print(line)

line should be some text type. Iteration just needs to be specialized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions