News for hackers. Stuff that matters.
Re:Pattern matching accepted for Python by pansa2 on Tuesday February 09, 2021 @06:02PM (#26083676)
> Are you sure the second one isn’t just declaring not_found as a stand-in for 404

That's what it looks like, but no, the refactoring really does change an equality test into an assignment.

There are no comments on this comment yet.