MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1xfxtnx/i_love_python/19rp7gd7ol5z6/?context=3
r/programminghorror • u/nakurtag • Oct 26 '26
81 comments sorted by
View all comments
1
Issue here is that the default parameters are initialized ONCE. If you want an empty list every time you need to define it inside.
View all comments
1
u/Crafty-Detail-3788 Oct 26 '26
Issue here is that the default parameters are initialized ONCE. If you want an empty list every time you need to define it inside.