Re:Python: copying a list the right way
by hwiechers on Sunday November 06, 2011 @01:06AM
(#3201905)
list(x) is also used for converting a sequence x to a list.
x[:] is actually more explicit because it only means 'copy x'.
[ Parent
| on HN ]
There are no comments on this comment yet.