Skip to content

Commit c3550f1

Browse files
committed
Remove DistributionFinder.Context.pattern, no longer used.
1 parent e54a040 commit c3550f1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

importlib_metadata/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,6 @@ def path(self):
375375
"""
376376
return vars(self).get('path', sys.path)
377377

378-
@property
379-
def pattern(self):
380-
return ('.*' if self.name is None
381-
else re.escape(self.name)) # pragma: nocover
382-
383378
@abc.abstractmethod
384379
def find_distributions(self, context=Context()):
385380
"""

0 commit comments

Comments
 (0)