1
0
forked from VimPlug/jedi

Fix a few issues with the newly defined CompiledValue

This commit is contained in:
Dave Halter
2018-09-17 02:10:27 +02:00
parent d07d1a78d3
commit 62df944c47
4 changed files with 14 additions and 10 deletions

View File

@@ -187,8 +187,8 @@ def predefine_names(context, flow_scope, dct):
def is_compiled(context):
from jedi.evaluate.compiled import CompiledObject
return isinstance(context, CompiledObject)
from jedi.evaluate.compiled import CompiledObject, CompiledValue
return isinstance(context, (CompiledObject, CompiledValue))
def is_string(context):