From 9289ebf9c95d41232aedf323a4af2077ae33cc4e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 7 Oct 2021 13:51:55 +0530 Subject: [PATCH] Old python compat --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 13202a5a0..1e5d11373 100755 --- a/setup.py +++ b/setup.py @@ -292,7 +292,7 @@ int main(void) { def is_gcc(cc: Iterable[str]) -> bool: - @lru_cache + @lru_cache() def f(cc: Tuple[str]) -> bool: raw = subprocess.check_output(cc + ('--version',)).decode('utf-8').splitlines()[0] return '(GCC)' in raw.split()