File: sys_path.py

package info (click to toggle)
python-jedi 0.19.1%2Bds1-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,680 kB
  • sloc: python: 28,783; makefile: 172; ansic: 13
file content (24 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

import sys
import os
from os.path import dirname

sys.path.insert(0, '../../jedi')
sys.path.append(os.path.join(dirname(__file__), 'thirdparty'))

# modifications, that should fail:
# syntax err
sys.path.append('a' +* '/thirdparty')

#? ['inference']
import inference

#? ['inference_state_function_cache']
inference.inference_state_fu

# Those don't work because dirname and abspath are not properly understood.
#? ['jedi_']
import jedi_

#? ['el']
jedi_.el