diff --git a/foamlib/_files/_parsing.py b/foamlib/_files/_parsing.py index 54ab3dc..f9cfc1a 100644 --- a/foamlib/_files/_parsing.py +++ b/foamlib/_files/_parsing.py @@ -13,7 +13,7 @@ if sys.version_info >= (3, 10): from types import EllipsisType else: - from typing import Any as EllipsisType + EllipsisType = type(...) from pyparsing import ( Combine,