Python lists have a += operator as well as append and extend methods.
+=
append
extend
If l is a list, is l += ... equivalent to l.append(...), l.extend(...), both, or neither?
l
l += ...
l.append(...)
l.extend(...)
In python += on a list is equivalent to extend method on that list.