The Secret Life of Python: The Mutable Default Argument
Why Mutable Default Arguments persist data across function calls. Timothy stared at the glowing terminal, shaking his head. “I can’t trust it,” he whispered. “I just can’t trust the data.” Margaret looked up from her desk. She set down her pen and walked over to stand beside him. “What is it, Timothy?” “It’s this security…