python styles: why Use spaces around arithmetic operators?
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Fri Jul 30 07:16:47 EDT 2010
In message <mailman.1246.1280302904.1673.python-list at python.org>, J.B. Brown
wrote:
> I personally prefer to be slightly excessive in the amount of spacing
> I used, especially when parentheses are involved.
>
> myTuple = ( 1, 2, 3, 4, 5 )
Parentheses are punctuation. Why not leave spaces around the commas as well,
to be consistent?
myTuple = ( 1 , 2 , 3 , 4 , 5 )
T,FTFY.
More information about the Python-list
mailing list