hub/venv/lib/python3.7/site-packages/jedi/inference/parser_cache.py

7 lines
191 B
Python
Raw Normal View History

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())