forked from VimPlug/jedi
The generics of a class of anonymous instances should never be inferred
This commit is contained in:
@@ -304,6 +304,9 @@ class AnonymousInstance(TreeInstance):
|
||||
var_args=AnonymousInstanceArguments(self),
|
||||
)
|
||||
|
||||
def get_annotated_class_object(self):
|
||||
return self.class_context # This is the default.
|
||||
|
||||
|
||||
class CompiledInstanceName(compiled.CompiledName):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user