@[email protected] to Programmer [email protected]English • 9 days agoThe meaning of thislemmy.mlimagemessage-square67fedilinkarrow-up1519arrow-down114
arrow-up1505arrow-down1imageThe meaning of thislemmy.ml@[email protected] to Programmer [email protected]English • 9 days agomessage-square67fedilink
minus-squareNatanoxlinkfedilinkEnglish6•edit-28 days agoAnd 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.
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.
i mean tbf match case was only added in 3.10