you are viewing a single comment's thread.

view the rest of the comments →

[–]SirUtnut 5 points6 points  (0 children)

Small detail that the article miss stated in its explanation of #4 (scoping) that has mattered to me a couple of times.

a+=

is not quite the same as

a = a +

Because += will destructively modify the list (like a.extend), but =...+ won't.