Skip to content

Commit a15b5db

Browse files
committed
Use PurePosixPath. Fixes #51.
1 parent 1b96917 commit a15b5db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

importlib_metadata/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def __iter__(self):
9999
return iter((self.name, self))
100100

101101

102-
class PackagePath(pathlib.PosixPath):
102+
class PackagePath(pathlib.PurePosixPath):
103103
"""A reference to a path in a package"""
104104

105105
def read_text(self, encoding='utf-8'):

0 commit comments

Comments
 (0)