1
0
forked from VimPlug/jedi

Fix a lot on PEP 484.

This commit is contained in:
Dave Halter
2016-11-14 23:29:09 +01:00
parent 03aa630932
commit 31514dfe76
7 changed files with 53 additions and 44 deletions

View File

@@ -31,7 +31,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_from_name(evaluator, typ.name.string_name)
new_result |= cls.execute_evaluated([])
new_result |= cls.execute_evaluated()
else:
new_result.add(typ)
return new_result