News

A proposal under consideration by Python’s development team would finally bring pattern matching statements to the language.
With structural pattern matching developers can match variables against one of a set of possible values, without relying on if/else/elif blocks for handling expression values anymore.