Y
Hacker News
new
|
ask
|
show
|
jobs
by
porridgeraisin
270 days ago
No, python slice syntax on lists returns a new list. Of course, the slice syntax on your own classes can do just about anything using operator overloading.