Generate type hints, fixes #987
This commit is contained in:
1 parent
f4b1fc479d
commit
4c7179bc87
8 files changed
+91
No files matched your search
@@ -130,6 +130,9 @@ class AbstractInstanceValue(Value):
|
||||
for name in names
|
||||
)
|
||||
|
||||
def get_type_hint(self, add_class_info=True):
|
||||
return self.py__name__()
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s of %s>" % (self.__class__.__name__, self.class_value)
|
||||
|
||||
|
||||
Reference in new issue
Block a user