Commit 67492cb
committed
refactor: sync with stdlib type stub change python/typeshed#14847
We are following the earlier signature, so it is no longer compatible
and pyright errors out on that. Fix by simply narrowing the `path`
argument's type.
Signed-off-by: WANG Xuerui <[email protected]>1 parent 81af3ae commit 67492cb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments