TypeError: can only concatenate list (not "tuple") to list

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Jan 4 02:51:40 EST 2010


This
py> [1,2,3] + (4,5)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
TypeError: can only concatenate list (not "tuple") to list


-- 
Gabriel Genellina




More information about the Python-list mailing list