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