Documentation
The docstring of the read method of _io.TextIOWrapper class has a typo.
The argument name size is not used in the explanation.
>>> file = open("/tmp/junk")
>>> help(file.read)
read(size=-1, /) method of _io.TextIOWrapper instance
Read at most n characters from stream.
Read from underlying buffer until we have n characters or we hit EOF.
If n is negative or omitted, read until EOF.
Linked PRs
Reactions are currently unavailable
Documentation
The docstring of the read method of _io.TextIOWrapper class has a typo.
The argument name size is not used in the explanation.
>>> file = open("/tmp/junk") >>> help(file.read) read(size=-1, /) method of _io.TextIOWrapper instance Read at most n characters from stream. Read from underlying buffer until we have n characters or we hit EOF. If n is negative or omitted, read until EOF.Linked PRs