Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
rdnetto
· 9y ago · 0 comments
You can do that in Python by converting the list to a tuple before passing it in. The need for a defensive copy is unavoidable as long as you're using mutable data types though.
Comments
No comments yet.
Better HN