News for hackers. Stuff that matters.
Re:Pattern matching accepted for Python by ben509 on Tuesday February 09, 2021 @11:21PM (#26085721)
It will be to stick your constants in a module and use module.constant to match them. Or use an enum. Or hang them off a class.

There are no comments on this comment yet.