3 ms·
list(x) is also used for converting a sequence x to a list. x[:] is actually more explicit because it only means 'copy x'.
by hwiechers 15y ago
list(x) is also used for converting a sequence x to a list.
x[:] is actually more explicit because it only means 'copy x'.