Base class for text streams. This class provides a character and line based interface to stream I/O. It inherits from IOBase.
class io.TextIOBase