Skip to content

Commit 9b28819

Browse files
authored
make RFont._save path type hint compatible with superclass
1 parent 2198ada commit 9b28819

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/fontParts/fontshell/font.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _get_path(self, **kwargs: Any) -> str | None:
5555

5656
def _save(
5757
self,
58-
path: str | None = None,
58+
path: str | os.PathLike | None = None,
5959
showProgress: bool = False,
6060
formatVersion: int | None = None,
6161
fileStructure: str | None = None,

0 commit comments

Comments
 (0)