On 2022-10-11 21:09, Stefan Ram wrote:
r...@zedat.fu-berlin.de (Stefan Ram) writes:
. I never understood "yield from" until just now, when I was
thinking, "Maybe this could be the piece that fits in here!"
PS: If I'm starting to think about it: Having succeeded
after using it by trial in one case does not mean that I
have understood it!
This:
yield from iterable
is equivalent to:
for item in iterable:
yield item
but is more efficient.
That's really all you need to know!
--
https://mail.python.org/mailman/listinfo/python-list