mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-25 17:58:35 +08:00
sys.path hack to be a fully compliant py3k library
This commit is contained in:
@@ -1,2 +1,8 @@
|
|||||||
|
import sys
|
||||||
|
|
||||||
|
# python imports are hell sometimes. Especially the combination of relative
|
||||||
|
# imports and circular imports... Just avoid it:
|
||||||
|
sys.path.insert(0, __path__[0])
|
||||||
|
|
||||||
from .api import Script, NotFoundError, set_debug_function
|
from .api import Script, NotFoundError, set_debug_function
|
||||||
from . import settings
|
from . import settings
|
||||||
|
|||||||
Reference in New Issue
Block a user