• Err(()).unwrap()@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    7 months ago

    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)