This repository has been archived by the owner on Nov 21, 2022. It is now read-only.
Variable length Sequence matching #11
Labels
accepted
Discussion leading to a final decision to include in the PEP
fully pepped
Issues that have been fully documented in the PEP
The obvious syntax for this would be
case [a, b, *rest]
or evencase [a, b, *rest, y, z]
. Hererest
would always receive a list, similar to how tuple unpacking works.The text was updated successfully, but these errors were encountered: