mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-22 02:54:25 +01:00
Make sure that default_arg is not passed rather than checking for falsity
``` if not default_arg: ... ``` fails when `default_arg` can be assigned and still be false (implementing a `__bool__` or `__len__` etc). You dont want to overwrite the passed values.
This commit is contained in:
parent
99280f57a0
commit
2f2fcf87bc
Loading…
Reference in New Issue
Block a user