Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test syntax error on comma-less tuple-style sequence patterns (#115485)
Adds a test that length-1 tuple-style sequence patterns must end in a comma, since there isn't currently one. Spotted while reviewing Cython's proposed implementation of the pattern matching syntax (cython/cython#4897 (comment)) where there was a bug my the reimplementation that wasn't caught against the CPython tests here.
- Loading branch information