mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-04 07:12:51 +08:00
Get the subprocess mostly working
This commit is contained in:
1 parent
a210be8198
commit
649225333f
6 files changed
+59
-31
No files matched your search
@@ -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