Open
Description
- I've checked docs and closed issues for possible solutions.
- I can't find my issue in the FAQ.
Describe the bug
Static type checkers will complain about the console.save_html(path: str, ...
if you supply a pathlib.Path
or other type allowed by the open
builtin
Here is this specific example, but the other save_
functions have this typing defect as well
Line 2293 in 9c9b011
It would be preferable to match the typeshed parameter for open
.
Platform
N/A, this is static code checking.