1
0
forked from VimPlug/jedi

unicode issues in usage matching

This commit is contained in:
Dave Halter
2014-04-29 12:20:25 +02:00
parent 5740c45791
commit bc7896f93d
3 changed files with 5 additions and 4 deletions
+1 -2
View File
@@ -182,8 +182,7 @@ def _literals_to_types(evaluator, result):
# Literals are only valid as long as the operations are
# correct. Otherwise add a value-free instance.
cls = builtin.get_by_name(r.name)
from jedi.evaluate import representation as er
result[i] = er.Instance(evaluator, cls)
result[i] = evaluator.execute(cls)[0]
return list(set(result))