PEP8 and 4 spaces

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Jul 4 15:50:01 EDT 2014


On 04/07/2014 20:04, Roy Smith wrote:
> In article <mailman.11507.1404498596.18130.python-list at python.org>,
>   Lie Ryan <lie.1296 at gmail.com> wrote:
>
>> PEP8 suggests using this style of method invocation:
>>
>>       obj.method(foo,
>>                  bar,
>>                  baz)
>>
>> which is an effect impossible to do correctly with tabs alone.
>
> If course you can do it with tabs. Just make sure all your method names
> are 7 letters long :-)
>

When the homework gets handed in I guess the lecturer will know who's 
read this thread :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com





More information about the Python-list mailing list