Commit 885b114
Rodolfo Alonso Hernandez
Avoid default mutable values in arguments
Mutable values shouldn't be used as default values in function
arguments [1].
[1] http://docs.python-guide.org/en/latest/writing/gotchas/
Change-Id: I3c7f915f0409c77f4c430467365eb1bcfd7757b31 parent a87bd58 commit 885b114
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments