Skip to content

Commit

Permalink
Specify maxsize for Python 3.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
newsch committed Nov 20, 2022
1 parent 6343737 commit e9f7722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion focstest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9f7722

Please sign in to comment.