white space in expressions and argument lists

John Salerno johnjsal at NOSPAMgmail.com
Thu Mar 2 18:09:33 CET 2006


rtilley wrote:
> John Salerno wrote:
>> A minor concern, but I'm curious if there is any kind of best practice 
>> for using whitespace within expressions and argument lists in the 
>> Python world. For example:
>>
>> 1 + 2  or   1+2
> 
> IMO, good style calls for spaces. Most companies have style guides for 
> programmers to follow. Read this PEP:
> 
> http://www.python.org/peps/pep-0008.html

Thanks, this is great. Is it the most up-to-date?



More information about the Python-list mailing list