summaryrefslogtreecommitdiff
path: root/python/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/types.py')
-rw-r--r--python/types.py2
1 files changed, 1 insertions, 1 deletions
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):