From 0c63f927ead0f78184a7526ce1c707a88e7f52ad Mon Sep 17 00:00:00 2001 From: Maja Kądziołka Date: Fri, 19 May 2023 15:58:13 +0200 Subject: Add some missing type annotations --- python/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/types.py') diff --git a/python/types.py b/python/types.py index 0b68bd54..52426474 100644 --- a/python/types.py +++ b/python/types.py @@ -521,7 +521,7 @@ class MutableTypeBuilder(Generic[TB]): confidence: int user: bool = True - def __enter__(self): + def __enter__(self) -> TB: return self.type def __exit__(self, type, value, traceback): -- cgit v1.3.1