forked from VimPlug/jedi
StatementElement instead of Call and Call now inherits from that
This commit is contained in:
@@ -668,7 +668,7 @@ def follow_call_list(call_list, follow_array=False):
|
||||
result.append(call)
|
||||
# The string tokens are just operations (+, -, etc.)
|
||||
elif not isinstance(call, (str, unicode)):
|
||||
if str(call.name) == 'if':
|
||||
if isinstance(call, pr.Call) and str(call.name) == 'if':
|
||||
# Ternary operators.
|
||||
while True:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user