Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

newline after opening braces causes parser error #4305

Closed
li6in9muyou opened this issue Apr 8, 2024 · 1 comment
Closed

newline after opening braces causes parser error #4305

li6in9muyou opened this issue Apr 8, 2024 · 1 comment
Labels
T: bug Something isn't working

Comments

@li6in9muyou
Copy link

duplicate of #3746

$ black p.py
error: cannot format p.py: Cannot parse: 1:7: print(f"Frame({

Oh no! 馃挜 馃挃 馃挜
1 file failed to reformat.

$ python .\p.py
Frame(1 2, 3, 4, 5)

$ black --version
black, 24.3.0 (compiled: yes)
Python (CPython) 3.12.2

$ cat .\p.py
print(f"Frame({
    1} {
    2}, {3}, {
    4}, {5})")
@li6in9muyou li6in9muyou added the T: bug Something isn't working label Apr 8, 2024
@li6in9muyou
Copy link
Author

duplicate of #3746

@li6in9muyou li6in9muyou closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant