mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
26 lines
486 B
Python
26 lines
486 B
Python
|
|
from jedi import functions, evaluate
|
|
|
|
el = functions.complete()[0]
|
|
#? ['description']
|
|
el.description
|
|
|
|
#? str()
|
|
el.description
|
|
|
|
|
|
scopes, path, dot, like = \
|
|
functions.prepare_goto(source, row, column,
|
|
source_path, True)
|
|
|
|
# has problems with that (sometimes) very deep nesting.
|
|
#? set()
|
|
el = scopes.
|
|
|
|
# get_names_for_scope is also recursion stuff
|
|
#? tuple()
|
|
el = evaluate.get_names_for_scope()[0]
|
|
|
|
##? tuple()
|
|
el = evaluate.get_names_for_scope(1,2)[0][0]
|