- Why do Python Functions Reuse Pointer to Mutable Default Values https://docs.quantifiedcode.com/python-anti-patterns/correctness/mutable_default_value_as_argument.html#use-a-sentinel-value-to-denote-an-empty-list-or-dictionary 11 comments learnpython
Linking pages
Related searches:
Search whole site: site:docs.quantifiedcode.com
Search title: Using a mutable default value as an argument — Python Anti-Patterns documentation
See how to search.