mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-22 15:18:27 +08:00
Get the subprocess mostly working
This commit is contained in:
@@ -6,7 +6,7 @@ from jedi._compatibility import py_version, unicode
|
||||
|
||||
def _eval_literal(code):
|
||||
def_, = jedi.Script(code).goto_definitions()
|
||||
return def_._name._context.access_handle.access._obj
|
||||
return def_._name._context.get_safe_value()
|
||||
|
||||
|
||||
@pytest.mark.skipif('sys.version_info[:2] < (3, 6)')
|
||||
|
||||
Reference in New Issue
Block a user