1
0
forked from VimPlug/jedi

Refactor some things regarding Python 2 support

This commit is contained in:
Dave Halter
2017-12-27 02:09:58 +01:00
parent 7e063ff7af
commit a8d3c46e9d
4 changed files with 51 additions and 27 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ def _fix_forward_reference(context, node):
if is_string(evaled_node):
try:
new_node = context.evaluator.grammar.parse(
_compatibility.unicode(evaled_node.get_safe_value()),
_compatibility.force_unicode(evaled_node.get_safe_value()),
start_symbol='eval_input',
error_recovery=False
)