forked from VimPlug/jedi
comments
This commit is contained in:
@@ -99,6 +99,11 @@ def search_params(evaluator, param):
|
||||
pos = None
|
||||
from jedi.evaluate import representation as er
|
||||
for scope in scopes:
|
||||
# Not resolving decorators is a speed hack:
|
||||
# By ignoring them, we get the function that is
|
||||
# probably called really fast. If it's not called, it
|
||||
# doesn't matter. But this is a way to get potential
|
||||
# candidates for calling that function really quick!
|
||||
s = evaluator.find_types(scope, func_name, position=pos,
|
||||
search_global=not first,
|
||||
resolve_decorator=False)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
Searcjing for names with given scope and name. This is very central in Jedi and
|
||||
Searching for names with given scope and name. This is very central in Jedi and
|
||||
Python. The name resolution is quite complicated with descripter,
|
||||
``__getattribute__``, ``__getattr__``, ``global``, etc.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user