[issue45169] Shallow copy occurs when list multiplication is used to create nested lists; can confuse users

Steven D'Aprano report at bugs.python.org
Fri Sep 10 23:09:16 EDT 2021


Steven D'Aprano <steve+python at pearwood.info> added the comment:

Oh, I forgot: this exact issue is also in the FAQs.

https://docs.python.org/3/faq/programming.html#id46

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45169>
_______________________________________


More information about the Python-bugs-list mailing list