-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
Enhancement ✨Improvement to a componentImprovement to a componentGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributors
Milestone
Description
Current problem
Yielding item by item from a generator:
for item in generator:
yield item
Desired solution
It is cleaner and maybe even a little faster to use yield from
:
yield from generator
This should be an easy check to implement.
Additional context
Note that yield from
does a lot more than just iterate.
Metadata
Metadata
Assignees
Labels
Enhancement ✨Improvement to a componentImprovement to a componentGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributors