summaryrefslogtreecommitdiff
path: root/python/types.py
diff options
context:
space:
mode:
authorMaja Kądziołka <maya@compilercrim.es>2023-05-19 15:58:13 +0200
committerPeter LaFosse <peter@vector35.com>2023-05-26 13:42:22 -0400
commit0c63f927ead0f78184a7526ce1c707a88e7f52ad (patch)
treeafa3cfc44de9d20989750ad47c5342510640aac9 /python/types.py
parenta05596610bbbe9274d9300882fbbbfb41eec107d (diff)
Add some missing type annotations
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):