this post was submitted on 13 Dec 2025
169 points (96.7% liked)

Greentext

7454 readers
721 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] rtxn@lemmy.world 2 points 10 hours ago* (last edited 10 hours ago) (1 children)

That's just Python's generator syntax. Not all that difficult to parse once you get a feel for it. Plus syntax highlighting helps.

(OUTPUT_EXPRESSION for ITEM in INPUT_ITERABLE if CONDITION)
[โ€“] ryannathans@aussie.zone 1 points 10 hours ago

it's list comprehension syntax, not generator syntax