Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
drstrangevibes
on Feb 20, 2011
|
parent
|
context
|
favorite
| on:
Python's Mutable Default Problem
i think its clearer and more pythonic in this case to do
def function(item, stuff): .... blah blah def function(item): function(item, [])
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
def function(item, stuff): .... blah blah def function(item): function(item, [])