summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-09-06 22:31:52 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-09-06 22:31:52 (GMT)
commit616453c19977c72fb6cbec19d133c1088f5d20fe (patch)
tree0be9bc4ae97ca5ba99073fa0d25b24335e814eb1 /Lib
parentada99488d93e268a0d138a3ad55003502f89903c (diff)
downloadcpython-616453c19977c72fb6cbec19d133c1088f5d20fe.zip
cpython-616453c19977c72fb6cbec19d133c1088f5d20fe.tar.gz
cpython-616453c19977c72fb6cbec19d133c1088f5d20fe.tar.bz2
More docstring updates
Diffstat (limited to 'Lib')
-rw-r--r--Lib/_pyio.py3
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