According to http://docs.python-guide.org/en/latest/writing/gotchas/#mutable-default-arguments using mutable default arguments is not a good practice since it doesn't perform intuitively. For example lists and dictionaries as default arguments are initialized ONCE instead of on each invocation of the function. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||
| responses.py | ||
| urls.py | ||