We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 608b319 commit 4a3782dCopy full SHA for 4a3782d
importlib_metadata/__init__.py
@@ -440,7 +440,7 @@ def at(path: str | os.PathLike[str]) -> Distribution:
440
:param path: a string or path-like object
441
:return: a concrete Distribution instance for the path
442
"""
443
- return PathDistribution(pathlib.Path(path))
+ return PathDistribution(cast(SimplePath, pathlib.Path(path)))
444
445
@staticmethod
446
def _discover_resolvers():
0 commit comments