1
0
forked from VimPlug/jedi

again method param access

This commit is contained in:
David Halter
2012-11-22 15:24:38 +01:00
parent 816d01b543
commit 7d38fc6513
2 changed files with 3 additions and 2 deletions

View File

@@ -1534,7 +1534,7 @@ def follow_path(path, scope, position=None):
debug.warning('strange function call with {}', current, scope) debug.warning('strange function call with {}', current, scope)
else: else:
# The function must not be decorated with something else. # The function must not be decorated with something else.
if isinstance(scope, Function): if scope.isinstance(Function):
# TODO Check default function methods and return them. # TODO Check default function methods and return them.
result = [] result = []
else: else:
@@ -1544,7 +1544,6 @@ def follow_path(path, scope, position=None):
position=position)) position=position))
return follow_paths(path, set(result), position=position) return follow_paths(path, set(result), position=position)
def goto(stmt, call_path=None): def goto(stmt, call_path=None):
if call_path is None: if call_path is None:
arr = stmt.get_assignment_calls() arr = stmt.get_assignment_calls()

View File

@@ -22,6 +22,8 @@ class FindClass():
#? [] #? []
FindClass().find_class.self FindClass().find_class.self
#? []
FindClass().find_class.self.find_class
# set variables, which should not be included, because they don't belong to the # set variables, which should not be included, because they don't belong to the
# class # class