Skip to content

Commit ee566d0

Browse files
committed
Remove cast of path items to strings. Ref #372.
1 parent 14cce75 commit ee566d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

importlib_metadata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ def __new__(cls, root):
772772
return super().__new__(cls)
773773

774774
def __init__(self, root):
775-
self.root = str(root)
775+
self.root = root
776776

777777
def joinpath(self, child):
778778
return pathlib.Path(self.root, child)

0 commit comments

Comments
 (0)