Commit 6caeb3e
fix a typing error: json.load(p, encoding='utf-8') takes no encoding
According to the 'json' documentation, json.load never took an
encoding parameter, json.loads (load string) had one until
3.9. I guess that recently the checks for irrelevant parameters got
stricter, this causes a failure on my Python 3.9 setup:
```
TypeError: __init__() got an unexpected keyword argument 'encoding'
```
fixes #501 parent 525c5fd commit 6caeb3e
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
0 commit comments