summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorAndrew Kuchling <amk@amk.ca>2014-04-25 09:29:30 -0400
committerAndrew Kuchling <amk@amk.ca>2014-04-25 09:29:30 -0400
commit86fe53e976435c22c6c73203c84fe9f1e7beaf4b (patch)
tree54a511082d6bff4fa82021c81ccc5680aacc4199 /Lib
parentdca807b8f5ededa1ae3cad3f5d73354c51335934 (diff)
downloadcpython-git-86fe53e976435c22c6c73203c84fe9f1e7beaf4b.tar.gz
#21225: copy docstrings from base classes
Diffstat (limited to 'Lib')
-rw-r--r--Lib/io.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/io.py b/Lib/io.py
index 39878b8337..8d68f1e424 100644
--- a/Lib/io.py
+++ b/Lib/io.py
@@ -70,16 +70,16 @@ SEEK_END = 2
# Method descriptions and default implementations are inherited from the C
# version however.
class IOBase(_io._IOBase, metaclass=abc.ABCMeta):
- pass
+ __doc__ = _io._IOBase.__doc__
class RawIOBase(_io._RawIOBase, IOBase):
- pass
+ __doc__ = _io._RawIOBase.__doc__
class BufferedIOBase(_io._BufferedIOBase, IOBase):
- pass
+ __doc__ = _io._BufferedIOBase.__doc__
class TextIOBase(_io._TextIOBase, IOBase):
- pass
+ __doc__ = _io._TextIOBase.__doc__
RawIOBase.register(FileIO)