SIGN IN SIGN UP

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 (https://github.com/cython/cython/pull/4897#discussion_r1489177169) where there was a bug my the reimplementation that wasn't caught against the CPython tests here.
D
da-woods committed
21c09d9f8195433f34b72ddfa25dd1bda3019ed7
Parent: fc7e1aa
Committed by GitHub <noreply@github.com> on 5/1/2024, 8:33:28 AM