Skip to content

Commit

Permalink
python#21225: copy docstrings from base classes
Browse files Browse the repository at this point in the history
  • Loading branch information
akuchling committed Apr 25, 2014
1 parent dca807b commit 86fe53e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Lib/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@
# 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)

Expand Down

0 comments on commit 86fe53e

Please sign in to comment.