Instances should not need get_generics
This commit is contained in:
1 parent
42963a0e03
commit
434866558a
3 files changed
+4
-8
No files matched your search
@@ -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_
|
||||
|
||||
Reference in new issue
Block a user