mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 05:58:25 +00:00
It's unlikely to be of any real consequence, but this code bugged me in that it makes a whole set before throwing it away to make nearly the same set. Sadly Python's comprehensions lack a way to write these cleanly as one comprehension; but with no extra code complexity we can make the temporary a genexp, which does the job.
896 B
896 B