This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients anngg2008, martin.panter, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-08-20.10:22:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471688563.17.0.6677904026.issue27813@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-08-20 10:22:43martin.pantersetrecipients: + martin.panter, paul.moore, tim.golden, zach.ware, steve.dower, anngg2008
2016-08-20 10:22:43martin.pantersetmessageid: <1471688563.17.0.6677904026.issue27813@psf.upfronthosting.co.za>
2016-08-20 10:22:43martin.panterlinkissue27813 messages
2016-08-20 10:22:42martin.pantercreate