Aug-27-2019, 02:30 PM
(Aug-27-2019, 01:46 PM)metulburr Wrote: If the PEP8 defines the default should be 4 spaces, why is it defaulted to 8 spaces there? I mean its testing anyways, but it does confuse new people as to why they are sometimes getting 8 spaces when they are told they should be getting 4.I didn't seen it explicitly stated in the docs and it's a guess, but if tabsize in expandtabs() is 8 it will be even more confusing if default is different when expamd \t escape sequence.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs