AIM-PIbd-32-Kurbanova-A-A/aimenv/Lib/site-packages/jedi/inference/parser_cache.py
2024-10-02 22:15:59 +04:00

7 lines
191 B
Python

from jedi.inference.cache import inference_state_function_cache
@inference_state_function_cache()
def get_yield_exprs(inference_state, funcdef):
return list(funcdef.iter_yield_exprs())