1
0
forked from VimPlug/jedi

can now refactor statements ahead of '=', fixes #20

This commit is contained in:
David Halter
2012-09-23 14:19:47 +02:00
parent 111f7c637f
commit 56a97c9df5
3 changed files with 10 additions and 4 deletions

View File

@@ -1373,9 +1373,9 @@ def follow_call_list(call_list):
# comprehensions
result += follow_statement(stmt)
else:
# With things like params, these can also be functions...
if isinstance(call, (Function, Class, Instance,
dynamic.ArrayInstance)):
# With things like params, these can also be functions...
result.append(call)
# The string tokens are just operations (+, -, etc.)
elif not isinstance(call, str):