"Least Astonishment" and the Mutable Default Argument
"Least Astonishment" and the Mutable Default Argument
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(stackoverflow.com/users/78374/stefano-borini)Stefano Borini |
(stackoverflow.com/users/43927/rob)rob |
(stackoverflow.com/users/1694/eli-courtwright)Eli Courtwright |
(stackoverflow.com/users/296974/glglgl)glglgl |
(stackoverflow.com/users/123984/utaal)Utaal |
(stackoverflow.com/users/126214/lennart-regebro)Lennart Regebro |
A special thanks goes out to the (https://stackoverflow.com/questions/1132941/least-astonishment-and-the-mutable-default-argument)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
python language-design default-parameters least-astonishment