Andrew Chong <sledg...@hotmail.com> added the comment:

But this works fine.

>>> data = []
>>> data += [[]]
>>> data += [[]]
>>> data += [[]]
>>> data += [[]]
>>> print data  
[[], [], [], []]
>>> data[0] += [(0,1)]
>>> print data        
[[(0, 1)], [], [], []]

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7917>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to