Commit 30eee86
authored
refactor: remove redundant
It is unnecessary to provide `None` as the default value when the key is not present in the dictionary as `get` implicitly returns `None`. Not preferred:None default1 parent 9e0fe36 commit 30eee86
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments