1
0
forked from VimPlug/jedi

Rename AnnotatedClass to GenericClass

This commit is contained in:
Dave Halter
2019-05-27 21:21:42 +02:00
parent d2355ea53b
commit 1002acf907
5 changed files with 17 additions and 17 deletions

View File

@@ -208,10 +208,10 @@ class Sequence(BuiltinOverwrite, IterableMixin):
@memoize_method
def get_object(self):
from jedi.evaluate.gradual.typing import AnnotatedSubClass
from jedi.evaluate.gradual.typing import GenericClass
klass = compiled.builtin_from_name(self.evaluator, self.array_type)
# TODO is this execute annotation wrong? it returns a context set?!
return AnnotatedSubClass(klass, self._get_generics()).execute_annotation()
return GenericClass(klass, self._get_generics()).execute_annotation()
def py__bool__(self):
return None # We don't know the length, because of appends.