# currently I have
def some_func():
for match in re.finditer(regex, string):
yield other_func(match)
構文的に1行に詰め込む方法があるかどうか疑問に思っていました
# looking for something like
def some_func():
yield from other_func(re.finditer(regex, string))