Christian Heimes <li...@cheimes.de> added the comment:

[[0,0]]*4 is not a matrix definition. You are defining a list that shares the 
same list object four times. It's a common misunderstanding how list works, see 
https://stackoverflow.com/questions/240178/list-of-lists-changes-reflected-across-sublists-unexpectedly

----------
nosy: +christian.heimes
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to