mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-03 02:33:23 +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 . import settings
|
||||
|
||||
Reference in New Issue
Block a user