We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.8 made a minor syntax change to allow
def g(): rest = (4, 5, 6) return 1, 2, 3, *rest
and the equivalent with yield. See https://bugs.python.org/issue32117.
yield
Black doesn't support this syntax yet.
The text was updated successfully, but these errors were encountered:
This looks like a bug in plib2to3 as it cannot parse * character in this line.
plib2to3
*
Unfortunately, even in py38 plib2to3 return statement does not support startest: https://github.com/python/cpython/blob/3.8/Lib/lib2to3/Grammar.txt#L52
py38
I can prepare a PR though
Sorry, something went wrong.
I prepared a PR above and added a test
Added PR to CPython as well. I hope black can switch to official lib2to3 soon.
black
lib2to3
Looks like #1121 merged, guess we can close this?
No branches or pull requests
Python 3.8 made a minor syntax change to allow
and the equivalent with
yield
. See https://bugs.python.org/issue32117.Black doesn't support this syntax yet.
The text was updated successfully, but these errors were encountered: