diff options
author | da-woods <dw-git@d-woods.co.uk> | 2024-05-01 08:33:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 08:33:28 (GMT) |
commit | 21c09d9f8195433f34b72ddfa25dd1bda3019ed7 (patch) | |
tree | 4080a1b849422da72d5b86cc55ceccac9f7b1770 /Python/optimizer_bytecodes.c | |
parent | fc7e1aa3c001bbce25973261fba457035719a559 (diff) | |
download | cpython-21c09d9f8195433f34b72ddfa25dd1bda3019ed7.zip cpython-21c09d9f8195433f34b72ddfa25dd1bda3019ed7.tar.gz cpython-21c09d9f8195433f34b72ddfa25dd1bda3019ed7.tar.bz2 |
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.
Diffstat (limited to 'Python/optimizer_bytecodes.c')
0 files changed, 0 insertions, 0 deletions