diff --git a/README.md b/README.md index de542ef..f2a825a 100644 --- a/README.md +++ b/README.md @@ -2173,7 +2173,7 @@ def some_func(default_arg=[]): ```py def some_func(default_arg=None): - if not default_arg: + if default_arg is not None: default_arg = [] default_arg.append("some_string") return default_arg