[docs] bug

Sandro Tosi sandro.tosi at gmail.com
Sat Jan 26 23:33:18 CET 2013


Hello Ali,
this mailing list is about bugs/enhancements to CPython documentation,
and your email doesn't fit this description. I'd suggest to contact a
user support forum, such as
http://mail.python.org/mailman/listinfo/python-list

Regards,
Sandro

On Fri, Jan 25, 2013 at 10:48 AM, ali mostafavi
<a.hr.mostafavi at gmail.com> wrote:
> hi!
> i found a bug in python 2.7.3
> if we make a list like this:
> a = [[0]*3]*3
> then change the a[y][x] like this:
> a[1][1] = 1
> the whole column changes. the result would be:
> [[0,1,0],[0,1,0],[0,1,0]]
>
> _______________________________________________
> docs mailing list
> docs at python.org
> http://mail.python.org/mailman/listinfo/docs
>



-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


More information about the docs mailing list