This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akuchling
Recipients akuchling
Date 2014-04-14.20:50:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397508646.21.0.210626779275.issue21225@psf.upfronthosting.co.za>
In-reply-to
Content
io.py contains the following to declare ABCs for some of its classes:

class IOBase(_io._IOBase, metaclass=abc.ABCMeta):
    pass

(and similarly for RawIOBase, BufferedIOBase, TextIOBase).

_io._IOBase has an extensive docstring, but IOBase doesn't. (Python doesn't inherit parent-class docstrings, on the theory that the subclass may change things that make the docstring invalid.)

I propose the attached patch.
History
Date User Action Args
2014-04-14 20:50:46akuchlingsetrecipients: + akuchling
2014-04-14 20:50:46akuchlingsetmessageid: <1397508646.21.0.210626779275.issue21225@psf.upfronthosting.co.za>
2014-04-14 20:50:46akuchlinglinkissue21225 messages
2014-04-14 20:50:46akuchlingcreate