diff options
Diffstat (limited to 'python/types.py')
| -rw-r--r-- | python/types.py | 2 |
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): |
