1
0
forked from VimPlug/jedi
Files
jedi-fork/jedi/evaluate/compiled/subprocess/functions.py
2017-12-06 15:06:48 +01:00

20 lines
523 B
Python

import sys
from jedi.evaluate.compiled import access
def get_sys_path():
return sys.path
def load_module(evaluator, path=None, name=None):
return access.load_module(evaluator, path=path, name=name)
def get_compiled_method_return(evaluator, id, attribute, *args, **kwargs):
handle = evaluator.compiled_subprocess.get_access_handle(id)
return getattr(handle.access, attribute)(*args, **kwargs)
def get_special_object(evaluator, identifier):
return access.get_special_object(evaluator, identifier)