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 e7d5929 commit 1028cb9Copy full SHA for 1028cb9
importlib_metadata/__init__.py
@@ -473,7 +473,7 @@ def search(self, name):
473
for child in self.children():
474
n_low = child.lower()
475
if (n_low in name.exact_matches
476
- or n_low.startswith(name.prefix)
+ or n_low.replace('.', '_').startswith(name.prefix)
477
and n_low.endswith(name.suffixes)
478
# legacy case:
479
or self.is_egg(name) and n_low == 'egg-info'):
0 commit comments