Commit 9e72a3f8 authored by Andrew Kuchling's avatar Andrew Kuchling

#21225: copy docstrings from base classes

parent e849b737
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment