Skip to content

Commit 3cc8d1b

Browse files
committed
Add return type
1 parent 44d9a9d commit 3cc8d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xopen/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ def _file_or_path_to_binary_stream(
674674
)
675675

676676

677-
def _filepath_from_path_or_filelike(fileorpath: FileOrPath):
677+
def _filepath_from_path_or_filelike(fileorpath: FileOrPath) -> str:
678678
try:
679679
return os.fspath(fileorpath) # type: ignore
680680
except TypeError:

0 commit comments

Comments
 (0)