Andrew Hays <m...@andrewhays.net> added the comment:

Ah, my apolgogies, I didn't realize that.  I suppose I didn't look deeply 
enough into the situation.  I just realized that it worked that way with 
dictionaries, but by the same right, x=[[]]*3 would create [[], [], []] and if 
I said x[0][0]=1 then it would only do that for the first inner array. (e.g. x 
= [[1], [], []]).  Again, my apologies for not looking into this further.

----------

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

Reply via email to