Re: What is a backing store in the context of module io https://docs.python.org/3/library/io.html

2019-11-11 Thread Terry Reedy
On 11/11/2019 11:08 AM, Veek M wrote: 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

Re: What is a backing store in the context of module io https://docs.python.org/3/library/io.html

2019-11-11 Thread Peter Otten
Veek M wrote: > I was reading pydoc io and - how do I decipher the indentation? $ cat demo.py class Base: pass class Sub(Base): pass class SubSub(Sub): pass class Other: pass class OtherSub(Other, Base): pass $ pydoc3.7 demo | head -n13 Help on module demo: NAME demo CLASSES

Re: What is a backing store in the context of module io https://docs.python.org/3/library/io.html

2019-11-11 Thread Veek M
On Mon, 11 Nov 2019 16:08:12 +, 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

What is a backing store in the context of module io https://docs.python.org/3/library/io.html

2019-11-11 Thread Veek M
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