Instances should not need get_generics

This commit is contained in:
Dave Halter
2020-05-10 02:59:54 +02:00
parent 42963a0e03
commit 434866558a
3 changed files with 4 additions and 8 deletions
-4
View File
@@ -396,10 +396,6 @@ class BaseTypingInstance(LazyValueWrapper):
def name(self):
return ValueName(self, self._tree_name)
@inference_state_method_cache()
def get_generics(self):
return self._generics_manager.to_tuple()
def _get_wrapped_value(self):
object_, = builtin_from_name(self.inference_state, u'object').execute_annotation()
return object_