• Natanox@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    8 hours ago

    And switch cases (called match cases) are there as well.

    I use lambdas all the time to shovel GTK signal emitions from worker threads into GLib.idle_add in a single line, works as you’d expect.

    Previous commenters probably didn’t look at Python in a really long time.