Y
Hacker News
new
|
ask
|
show
|
jobs
by
azhenley
709 days ago
That’s beautiful. Why didn’t I think of that?!
1 comments
rplnt
709 days ago
Probably because not using mutable default arguments is python 101. Just something you don't do or think about. But this is indeed clever use of that gotcha.
link