• kiwifoxtrot@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    Match only just came out in Python 3.10, so it doesn’t universally work. I think you implied that in your comment, so I wanted to add context for others.

    • SubArcticTundra
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Oh, yes. I’m excited for the arrival of match. I’ve used it in rust and it’s very nifty and Pythonic