[issue14719] Lists: [[0]*N]*N != [[0 for _ in range(N)] for __ in range(N)]

Martin v. Löwis report at bugs.python.org
Fri May 4 08:18:54 CEST 2012


Martin v. Löwis <martin at v.loewis.de> added the comment:

It's actually fairly easy to explain. Just think about it harder (and consider Yuval's explanation).

----------
nosy: +loewis
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14719>
_______________________________________


More information about the Python-bugs-list mailing list