[issue24346] Key Error at List in Tuple concatenation
stf
report at bugs.python.org
Mon Jun 1 17:01:48 CEST 2015
New submission from stf:
>>> a = ([1,2],)
>>> a[0] += [3]
this raises an Type Error but adds the Elements to a.
So a is ([1, 2, 3],) afterwards.
This Problem doesn't occur, when you use a[0].append(3)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24346>
_______________________________________
More information about the Python-bugs-list
mailing list