Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

This is not a bug since in this case assignment is referring to the same object 
and thus mutating one variable reflects change in other variable.

Relevant FAQ : 
https://docs.python.org/3/faq/programming.html#why-did-changing-list-y-also-change-list-x

----------
nosy: +xtreak

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

Reply via email to