-
Notifications
You must be signed in to change notification settings - Fork 2.6k
with statement with type comment #3677
New issue
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
Labels
T: bug
Something isn't working
Comments
This is arguably a bug in CPython. The issue is that when using
Worse yet, this fails to parse:
I'll report an upstream bug. |
Closing as this was fixed in CPython. It doesn't seem worth trying to work around the bug in Black. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The following code can not be formatted
when run with these arguments:
The error is:
Environment
python -m black, 23.3.1.dev10+geb32729 (compiled: no)
Python (CPython) 3.11.3
Additional context
The text was updated successfully, but these errors were encountered: