News for hackers. Stuff that matters.
Re:Python: Acceptance of Pattern Matching – PEP 634 by wodenokoto on Tuesday February 09, 2021 @02:53PM (#26081744)
Do you know what would happen with:

    def _id(x): return x

    not_found = 404
    match status:
        case _id(not_found):
            return "Not found"

There are no comments on this comment yet.