diff options
author | Andrew Kuchling <amk@amk.ca> | 2014-04-25 09:29:30 -0400 |
---|---|---|
committer | Andrew Kuchling <amk@amk.ca> | 2014-04-25 09:29:30 -0400 |
commit | 86fe53e976435c22c6c73203c84fe9f1e7beaf4b (patch) | |
tree | 54a511082d6bff4fa82021c81ccc5680aacc4199 /Lib | |
parent | dca807b8f5ededa1ae3cad3f5d73354c51335934 (diff) | |
download | cpython-git-86fe53e976435c22c6c73203c84fe9f1e7beaf4b.tar.gz |
#21225: copy docstrings from base classes
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/io.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |