showing function calls works now. jedi is now offically *awesome*!

This commit is contained in:
David Halter
2012-09-15 11:33:00 +02:00
parent 3ac2b89fcf
commit a56bc17f2c
3 changed files with 54 additions and 19 deletions

View File

@@ -423,7 +423,7 @@ def _get_in_function_call(module, pos):
return call, index
user_stmt = module.parser.user_stmt
if user_stmt is None:
if user_stmt is None or not isinstance(user_stmt, parsing.Statement):
return None
ass = user_stmt.get_assignment_calls()