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 5b3de7c9..7ad75603 100644
--- a/python/types.py
+++ b/python/types.py
@@ -552,7 +552,7 @@ class MutableTypeBuilder(Generic[TB]):
class TypeBuilderAttributes(dict):
- def __init__(self, builder, *args):
+ def __init__(self, builder: 'TypeBuilder', *args):
super(TypeBuilderAttributes, self).__init__(*args)
self._builder = builder