Message216210
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. |
|
Date |
User |
Action |
Args |
2014-04-14 20:50:46 | akuchling | set | recipients:
+ akuchling |
2014-04-14 20:50:46 | akuchling | set | messageid: <1397508646.21.0.210626779275.issue21225@psf.upfronthosting.co.za> |
2014-04-14 20:50:46 | akuchling | link | issue21225 messages |
2014-04-14 20:50:46 | akuchling | create | |
|