Via trial and error I found out that
my_list = range(10) my_list[:None] == my_list[:]
I use this for django query sets so I can define a si
It should be safe. In Python, something[] is equivalent to something[slice(...)], and the documentation for the slice type clearly indicates that the arguments for stop and step default to None.
something[]
something[slice(...)]
slice
None