diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2010-09-06 22:31:52 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2010-09-06 22:31:52 (GMT) |
commit | 616453c19977c72fb6cbec19d133c1088f5d20fe (patch) | |
tree | 0be9bc4ae97ca5ba99073fa0d25b24335e814eb1 /Lib | |
parent | ada99488d93e268a0d138a3ad55003502f89903c (diff) | |
download | cpython-616453c19977c72fb6cbec19d133c1088f5d20fe.zip cpython-616453c19977c72fb6cbec19d133c1088f5d20fe.tar.gz cpython-616453c19977c72fb6cbec19d133c1088f5d20fe.tar.bz2 |
More docstring updates
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/_pyio.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 369bde9..d6dce6d 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -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 |