1
0
forked from VimPlug/jedi

Fix the compatibility docstring

This commit is contained in:
Dave Halter
2020-07-02 01:58:38 +02:00
parent 9838040ca3
commit 782c561e86
12 changed files with 13 additions and 33 deletions

View File

@@ -312,9 +312,6 @@ def infer_atom(context, atom):
# For False/True/None
if atom.value in ('False', 'True', 'None'):
return ValueSet([compiled.builtin_from_name(state, atom.value)])
elif atom.value == 'print':
# print e.g. could be inferred like this in Python 2.7
return NO_VALUES
elif atom.value == 'yield':
# Contrary to yield from, yield can just appear alone to return a
# value when used with `.send()`.