Y
Hacker News
new
|
ask
|
show
|
jobs
by
jamiis
4356 days ago
You should not ever use mutable default args. The documentation benefit is drastically outweighed by the potential for nasty bugs.
http://pythonconquerstheuniverse.wordpress.com/2012/02/15/mu...