New submission from DEVOR BLAKE DANIELS <dev40...@gmail.com>:

l=[2,3,4]
p=l
p[0]=5
when I change p[0] to 5,l[0] is also changed to 5. I use slicing to get around 
this ,but when dealing with lists like s[][],slicing does not work

----------
files: three.py
messages: 354558
nosy: dev40573
priority: normal
severity: normal
status: open
title: lists
type: behavior
Added file: https://bugs.python.org/file48657/three.py

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

Reply via email to