Compat for python < 3.8
This commit is contained in:
@@ -538,7 +538,7 @@ def system_paths_on_macos() -> List[str]:
|
|||||||
return entries
|
return entries
|
||||||
|
|
||||||
|
|
||||||
@lru_cache
|
@lru_cache(maxsize=32)
|
||||||
def find_exe(name: str) -> Optional[str]:
|
def find_exe(name: str) -> Optional[str]:
|
||||||
import shutil
|
import shutil
|
||||||
ans = shutil.which(name)
|
ans = shutil.which(name)
|
||||||
|
|||||||
Reference in New Issue
Block a user