Steven D'Aprano added the comment: This is already a FAQ:
https://docs.python.org/2/faq/programming.html#how-do-i-create-a-multidimensional-list I guess this bites every beginning Python programmer, but it's a natural, and desirable, consequence of Python's object model and the fact that * does not copy the list items. ---------- nosy: +steven.daprano resolution: -> not a bug _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23406> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com