Re:Python Asyncio: The Complete Guide
by nicwolff on Thursday November 10, 2022 @05:11PM
(#33554230)
It's the buried `yield` in a loop somewhere, magically changing your function into a generator, that can be confusing – it's on the original coder to have the docstring say `"""Generator yielding records from DB."""` or something.
[ Parent
| on HN ]
There are no comments on this comment yet.