3 ms·
Perhaps, but list() is certainly easier to google/find in the docs than [:]
by jisaacstone 15y ago
Perhaps, but list() is certainly easier to google/find in the docs than [:]
- d0mine 15y ago`[:]` is as easy to grep as anything: http://www.google.com/codesearch#search&q=%5C%5B:%5C%5D+lang:py 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 http://docs.python.org/tut