More docstring updates

This commit is contained in:
Amaury Forgeot d'Arc 2010-09-06 22:31:52 +00:00
parent ada99488d9
commit 616453c199
2 changed files with 7 additions and 5 deletions

View file

@ -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