Martin Panter added the comment:

Original post:

“When I assign for a item which list of single item, it seems can't set a value 
for item which I want to.”

See the FAQ entry 
<https://docs.python.org/3.5/faq/programming.html#how-do-i-create-a-multidimensional-list>.
 When you multiply a list, each outer item is actually just reference to the 
same inner list object.

----------
nosy: +martin.panter
resolution:  -> not a bug
status: open -> closed

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

Reply via email to