From e9f7722f59568cf1562892345bb1f472c76ce709 Mon Sep 17 00:00:00 2001 From: Evan Lloyd New-Schmidt Date: Sun, 20 Nov 2022 10:56:19 -0500 Subject: [PATCH] Specify maxsize for Python 3.7 compatibility --- focstest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/focstest.py b/focstest.py index ff6af49..369d12d 100755 --- a/focstest.py +++ b/focstest.py @@ -1100,7 +1100,7 @@ def _parse_error(output: str) -> Optional[OcamlError]: # -@lru_cache +@lru_cache(maxsize=None) def _regex_by_surrounds(beginning: str, ending: str) -> Pattern[str]: # matches the smallest string that: # - starts with `beginning` at the beginning of a line