mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-19 10:22:47 +08:00
7 lines
191 B
Python
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())
|