>>> 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.
Documentation
The docstring of the read method of
_io.TextIOWrapperclass has a typo.The argument name
sizeis not used in the explanation.Linked PRs