1
0
forked from VimPlug/jedi

Make it possible to connect to a subprocess to get the sys path

This commit is contained in:
Dave Halter
2017-11-14 18:25:37 +01:00
parent 46b81dfa6d
commit 96149d2e6a
7 changed files with 51 additions and 52 deletions
-2
View File
@@ -3,12 +3,10 @@ import sys
from jedi.evaluate.sys_path import get_venv_path, detect_additional_paths
from jedi.cache import memoize_method
from jedi.evaluate.compiled.subprocess import CompiledSubProcess
class Project(object):
def __init__(self, sys_path=None):
self._compiled_subprocess = CompiledSubProcess()
if sys_path is not None:
self._sys_path = sys_path