4 ms·
I think doing list(foo) to create a list copy is a pretty obvious way of getting around the 'variables are just references' thing. I honestly have never seen s
by nihilocrat 18y ago
I think doing list(foo) to create a list copy is a pretty obvious way of getting around the 'variables are just references' thing.
I honestly have never seen someone do foo[:] just to copy a list, this is all news to me.