You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
172 B
7 lines
172 B
6 years ago
|
from jedi.evaluate.cache import evaluator_function_cache
|
||
|
|
||
|
|
||
|
@evaluator_function_cache()
|
||
|
def get_yield_exprs(evaluator, funcdef):
|
||
|
return list(funcdef.iter_yield_exprs())
|