mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-02 01:35:24 +08:00
hopefully fixes a long-lasting problem with weakrefs
This commit is contained in:
@@ -7,9 +7,8 @@ from os.path import abspath, dirname
|
||||
import time
|
||||
import functools
|
||||
|
||||
sys.path.append(abspath(dirname(abspath(__file__)) + '/../jedi'))
|
||||
sys.path.insert(0, abspath(dirname(abspath(__file__)) + '/../jedi'))
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)) + '/../jedi')
|
||||
sys.path.append('.')
|
||||
|
||||
from _compatibility import is_py25, utf8
|
||||
import api
|
||||
|
||||
@@ -5,7 +5,7 @@ import re
|
||||
import traceback
|
||||
from os.path import abspath, dirname
|
||||
|
||||
sys.path.append(abspath(dirname(abspath(__file__)) + '/../jedi'))
|
||||
sys.path.insert(0, abspath(dirname(abspath(__file__)) + '/../jedi'))
|
||||
os.chdir(dirname(abspath(__file__)) + '/../jedi')
|
||||
|
||||
from _compatibility import unicode, StringIO, reduce, literal_eval, is_py25
|
||||
|
||||
Reference in New Issue
Block a user