Commit 87084a8
committed
Changed
Strings are implicitly convertible to `fs::path`, but pybind11 just uses
`os.PathLike` and not `os.PathLike | str` as type annotation.
Python does not support implicit conversions for annotations, so this
corrects the annotations to be explicit.fs::path to be bound to os.PathLike|str.1 parent 05c09e6 commit 87084a8
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