1
0
forked from VimPlug/jedi

Move isinstance checks back to unary type checks

This commit is contained in:
Laurens Van Houtven
2013-07-11 20:36:00 +02:00
parent 73662fe893
commit 627266b38d
2 changed files with 2 additions and 2 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 isinstance(call, pr.Call):
elif type(call) is pr.Call:
yield call.name, value_stmt
# Normal arguments (including key arguments).
else: