Add overrides for the methods 'readlines' and 'writelines' in TextIOBase. (#2551)
Add overrides for the methods 'readlines' and 'writelines' in TextIOBase. (#2551)

Without the overrides, MRO will pick the methods in IOBase which have
the wrong signatures.

euresti/typeshed