mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-26 05:36:43 +08:00
Move the evaluate package to inference
This commit is contained in:
6
jedi/inference/parser_cache.py
Normal file
6
jedi/inference/parser_cache.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from jedi.inference.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