1
0
forked from VimPlug/jedi

Fix some API classes issues. Among them call signature generation and Definition.parent() issues.

This commit is contained in:
Dave Halter
2014-12-08 02:32:43 +01:00
parent 0f01242954
commit 0ad6aeba6b
4 changed files with 23 additions and 26 deletions

View File

@@ -414,6 +414,10 @@ class Class(use_metaclass(CachedMetaClass, Wrapper)):
def py__getattribute__(self, name):
return self._evaluator.find_types(self, name)
@property
def params(self):
return self.get_subscope_by_name('__init__').params
def scope_names_generator(self, position=None, add_class_vars=True):
def in_iterable(name, iterable):
""" checks if the name is in the variable 'iterable'. """