mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +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())
|