Skip to content

Commit 07a2a44

Browse files
committed
Revert "Fix mypy failure that has nothing to do with this PR"
This reverts commit 4a3782d.
1 parent b815aee commit 07a2a44

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
@@ -440,7 +440,7 @@ def at(path: str | os.PathLike[str]) -> Distribution:
440440
:param path: a string or path-like object
441441
:return: a concrete Distribution instance for the path
442442
"""
443-
return PathDistribution(cast(SimplePath, pathlib.Path(path)))
443+
return PathDistribution(pathlib.Path(path))
444444

445445
@staticmethod
446446
def _discover_resolvers():

0 commit comments

Comments
 (0)