MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1xfxtnx/i_love_python/19rpahqyko70j/?context=3
r/programminghorror • u/nakurtag • Oct 26 '26
81 comments sorted by
View all comments
1
It's a quirk of the language and something you should have learned and read about. The default arg gets created once upon func definition, not per invocation
View all comments
1
u/itemluminouswadison Oct 26 '26
It's a quirk of the language and something you should have learned and read about. The default arg gets created once upon func definition, not per invocation