Skip to content

Discussion of sys module in Data Model #125495

@paulehoffman

Description

@paulehoffman

Documentation

In the section titled "I/O objects (also known as file objects)" in the Data Model chapter, it says:

The objects sys.stdin, sys.stdout and sys.stderr are initialized to file objects corresponding to the interpreter’s standard input, output and error streams; they are all open in text mode and therefore follow the interface defined by the io.TextIOBase abstract class.

However, neither the sys nor the io modules have been introduced (and probably should not be in this chapter). Is it appropriate to talk about module-specific features here? Or maybe this text should be modified to lean towards those objects just as examples of file objects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions