mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
14 lines
322 B
Python
Executable File
14 lines
322 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import functions
|
|
|
|
#functions.debug.debug_function
|
|
functions.debug.ignored_modules += ['parsing', 'functions']
|
|
functions.modules.module_find_path.insert(0, '.')
|
|
|
|
with open('test.py') as f:
|
|
code = f.read()
|
|
completions = functions.complete(code, 50, 20)
|
|
|
|
print '\n', [c.names for c in completions]
|