Skip to content

Conversation

@Sangeeth62880
Copy link

This PR fixes a misleading return type annotation in the
active_clients generator example and adds a brief explanation
highlighting the memory and performance benefits of generators.

@zedr
Copy link
Owner

zedr commented Jan 10, 2026

Hi. Thanks. I used a list comprehension intentionally. I wanted to create an opportunity for using generators immediately after. I did it to explain the difference to the reader.

@zedr zedr closed this Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants