10000 Clarify that error messages are better with PEP 701 by pablogsal · Pull Request #105150 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Clarify that error messages are better with PEP 701 #105150

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

Merged
merged 6 commits into from
May 31, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! fixup! Update Doc/whatsnew/3.12.rst
  • Loading branch information
pablogsal committed May 31, 2023
commit 6fe2f27389113b39903e283a609c2f68710e97dd
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ are parsed with the PEG parser, error messages can be more precise and show the
>>> my_string = f"{x z y}" + f"{1 + 1}"
File "<stdin>", line 1
my_string = f"{x z y}" + f"{1 + 1}"
^^^
^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?

(Contributed by Pablo Galindo, Batuhan Taskaya, Lysandros Nikolaou, Cristián
Expand Down
0