Skip to content

Commit 6e2740e

Browse files
committed
Remove 'cache clear' operation. Unlocks caching.
1 parent 12e33bb commit 6e2740e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

importlib_metadata/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,6 @@ def search(self, name):
632632
def mtime(self):
633633
with contextlib.suppress(OSError):
634634
return os.stat(self.root).st_mtime
635-
FastPath.lookup.cache_clear()
636635

637636
@functools.lru_cache()
638637
def lookup(self, mtime):

0 commit comments

Comments
 (0)