Where is the difference when I write something on one line, seperated by a ,
and on two lines. Apparently I do not understand the difference, because I though t
A perfect explanation from Raymond Hettinger can be found in this PyCon 2013 video between 33:13 and 38:17:
https://www.youtube.com/watch?v=OSGv2VnC0go
Quote from his presentation:
- don't underestimate the advantages of updating state variabes at the same time
- eliminates an entire class of errors due to out-of-order updates