mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-16 00:46:43 +08:00
7 lines
172 B
Python
7 lines
172 B
Python
from jedi.evaluate.cache import evaluator_function_cache
|
|
|
|
|
|
@evaluator_function_cache()
|
|
def get_yield_exprs(evaluator, funcdef):
|
|
return list(funcdef.iter_yield_exprs())
|