diff options
author | Arun Isaac | 2021-11-10 15:47:20 +0530 |
---|---|---|
committer | BonfaceKilz | 2021-11-13 08:00:40 +0300 |
commit | 0059de6c028996c9b21a833f186ba7df4899fa2d (patch) | |
tree | fc686e09418ccd11775ecc8ede2da78979e37278 /scripts/laminar | |
parent | 85405fe6875358d3bb98b03621271d5909dd393f (diff) | |
download | genenetwork3-0059de6c028996c9b21a833f186ba7df4899fa2d.tar.gz |
Do not use dangerous default argument [].
Default arguments get evaluated only once when the function is defined, and
are then shared across all instances of the function. If the argument is then
mutated, this can cause hard to find bugs. See
https://docs.python.org/3/tutorial/controlflow.html#default-argument-values
* gn3/authentication.py (create_group): Do not use [] as the default argument.
Diffstat (limited to 'scripts/laminar')
0 files changed, 0 insertions, 0 deletions