Comment on Anon is a linguist
rtxn@lemmy.world 1 month agoThat’s just Python’s generator syntax. Not all that difficult to parse once you get a feel for it. Plus syntax highlighting helps.
[OUTPUT_ITEM for INPUT_ITEM in INPUT_ITERABLE if CONDITION]