forked from VimPlug/jedi
Do some parser tree caching. This might be important for recursions.
This commit is contained in:
6
jedi/evaluate/parser_cache.py
Normal file
6
jedi/evaluate/parser_cache.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from jedi.evaluate.cache import evaluator_function_cache
|
||||
|
||||
|
||||
@evaluator_function_cache()
|
||||
def get_yield_exprs(evaluator, funcdef):
|
||||
return list(funcdef.iter_yield_exprs())
|
||||
Reference in New Issue
Block a user