mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
More docstring updates
This commit is contained in:
parent
ada99488d9
commit
616453c199
2 changed files with 7 additions and 5 deletions
|
@ -264,7 +264,8 @@ class IOBase(metaclass=abc.ABCMeta):
|
|||
Even though IOBase does not declare read, readinto, or write because
|
||||
their signatures will vary, implementations and clients should
|
||||
consider those methods part of the interface. Also, implementations
|
||||
may raise a IOError when operations they do not support are called.
|
||||
may raise UnsupportedOperation when operations they do not support are
|
||||
called.
|
||||
|
||||
The basic type used for binary data read from or written to a file is
|
||||
bytes. bytearrays are accepted too, and in some cases (such as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue