forked from VimPlug/jedi
Make sure that sequence literals have the right generic classes, fixes #1416
This commit is contained in:
@@ -206,9 +206,6 @@ class Sequence(LazyAttributeOverwrite, IterableMixin):
|
||||
def py__bool__(self):
|
||||
return None # We don't know the length, because of appends.
|
||||
|
||||
def py__class__(self):
|
||||
return compiled.builtin_from_name(self.inference_state, self.array_type)
|
||||
|
||||
@safe_property
|
||||
def parent(self):
|
||||
return self.inference_state.builtins_module
|
||||
|
||||
Reference in New Issue
Block a user