Commits
Click on a commit to change the comparison range[syntax-errors] Tuple unpacking in `return` and `yield` before 3.8
Summary
--
Checks for tuple unpacking in `return` and `yield` statements before Python 3.8,
as described [here].
I split the `ErrorKind` into two variants for the sake of more precise error
messages. I thought that was nicer than having a single `StarTuple` variant
containing another enum with two options.
Test Plan
--
Inline tests.
[here]: https://github.com/python/cpython/issues/76298