mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
import work - including star imports
This commit is contained in:
13
ftest.py
Executable file
13
ftest.py
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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]
|
||||
Reference in New Issue
Block a user