Commit 9e264b8
[#17] fix Query.copy: in python3, dict.items() no longer produces a list
As such, f( **(d1.items()+d2.items()) ) is no longer a valid construct in Python3,
and we must express it instead as f(**{**d1,**d2}). The meaning is of course the
same, and that is: in calling f, apply the keywords in d1 but overridden with the
values in d2 wherever there is overlap.1 parent 3213c1d commit 9e264b8
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
| 160 | + | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| |||
0 commit comments