1
0
forked from VimPlug/jedi

Use isinstance instead of unary type

This commit is contained in:
Laurens Van Houtven
2013-07-10 19:00:11 +02:00
parent 18c105b055
commit afcaa89cf0
3 changed files with 3 additions and 3 deletions

View File

@@ -643,7 +643,7 @@ class Execution(Executable):
call = key_stmt.get_commands()[0]
if isinstance(call, pr.Name):
yield call, value_stmt
elif type(call) == pr.Call:
elif isinstance(call, pr.Call):
yield call.name, value_stmt
# Normal arguments (including key arguments).
else: