Comment on Python: copying a list the right wayparentComments−jisaacstone14yPerhaps, but list() is certainly easier to google/find in the docs than [:]−d0mine14y`[:]` is as easy to grep as anything:http://www.google.com/codesearch#search&q=%5C%5B:%5C%5D+...If you don't know that `[:]` relates to slices then you might start by reading http://docs.python.org/tut
Comments
Perhaps, but list() is certainly easier to google/find in the docs than [:]
`[:]` is as easy to grep as anything:
http://www.google.com/codesearch#search&q=%5C%5B:%5C%5D+...
If you don't know that `[:]` relates to slices then you might start by reading http://docs.python.org/tut