On Mon, 11 Nov 2019 16:08:12 +0000, Veek M wrote: > So i was making some notes and: https://i.imgur.com/UATAKXh.png > > I did not understand this > > https://docs.python.org/3/library/io.html 'Text I/O expects and produces > str objects. This means that whenever the backing store is natively made > of bytes (such as in the case of a file), > encoding and decoding of data is made transparently as well as optional > translation of platform-specific newline characters.' > > 1. What is a backing store? > 2. How does it fit in/influence what we pass to the fileObject/stream/ > filelikeObject.method() >
I was reading pydoc io and - how do I decipher the indentation? _io._BufferedIOBase(_io._IOBase) _io.BufferedRWPair _io.BufferedRandom #are these Derived Classes of BufferedIOBase? _io.BufferedReader _io.BufferedWriter _io.BytesIO BufferedIOBase(_io._BufferedIOBase, IOBase) #huh?? _io._IOBase(__builtin__.object) IOBase #huh??? BufferedIOBase(_io._BufferedIOBase, IOBase) RawIOBase(_io._RawIOBase, IOBase) TextIOBase(_io._TextIOBase, IOBase) _io._RawIOBase(_io._IOBase) _io.FileIO RawIOBase(_io._RawIOBase, IOBase) _io._TextIOBase(_io._IOBase) _io.StringIO _io.TextIOWrapper TextIOBase(_io._TextIOBase, IOBase) -- https://mail.python.org/mailman/listinfo/python-list