mirror of
https://github.com/satwikkansal/wtfpython.git
synced 2025-07-30 18:00:11 +02:00
Fixed logic error in "Beware of default mutable arguments!"
The example showing how using None as a default argument is used instead of a mutable default argument had reversed logic. It would set default_arg to [] whenever the caller passed a non-None argument.
This commit is contained in:
Reference in New Issue
Block a user