-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
createusersdata/create_first_name.py
Line 7 in 7baef06
| def first_name_selection(names=[], gender='male', nationality='en'): |
Please, do not use default mutable type objects in function arguments.
In case, you need to apply an empty list by default, there is a way to do this:
def some_func(default_empty_list = None):
default_empty_list = defualt_empty_list or []komanch7
Metadata
Metadata
Assignees
Labels
No labels