mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-17 17:41:25 +08:00
Another rename for readability
This commit is contained in:
1 parent
5c4b3da45d
commit
84d10657a3
1 file changed
+2
-2
@@ -206,14 +206,14 @@ class GenericClass(ClassMixin, DefineGenericBase):
|
||||
@to_list
|
||||
def py__bases__(self):
|
||||
for base in self._wrapped_value.py__bases__():
|
||||
yield _LazyAnnotatedBaseClass(self, base)
|
||||
yield _LazyGenericBaseClass(self, base)
|
||||
|
||||
@inference_state_method_cache()
|
||||
def get_generics(self):
|
||||
return self._generics_manager.to_tuple()
|
||||
|
||||
|
||||
class _LazyAnnotatedBaseClass(object):
|
||||
class _LazyGenericBaseClass(object):
|
||||
def __init__(self, class_value, lazy_base_class):
|
||||
self._class_value = class_value
|
||||
self._lazy_base_class = lazy_base_class
|
||||
|
||||
Reference in new issue
Block a user