Skip to content

Commit c42ed0d

Browse files
authored
Fixes to invocation of jedi on Python 3.7 (microsoft#3463)
For microsoft#3462
1 parent de08216 commit c42ed0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonFiles/completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class JediCompletion(object):
3333

3434
def __init__(self):
3535
self.default_sys_path = sys.path
36-
self.environment = jedi.api.environment.create_environment(sys.executable)
36+
self.environment = jedi.api.environment.Environment(sys.executable)
3737
self._input = io.open(sys.stdin.fileno(), encoding='utf-8')
3838
if (os.path.sep == '/') and (platform.uname()[2].find('Microsoft') > -1):
3939
# WSL; does not support UNC paths

0 commit comments

Comments
 (0)