8000 gh-128398: improve error message when incorrectly `with` and `async with` by picnixz · Pull Request #132218 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-128398: improve error message when incorrectly with and async with #132218

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 13 commits into from
Apr 19, 2025
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
fix typo
  • Loading branch information
picnixz committed Apr 18, 2025
commit f77056e8b832a5aad050afd17f4ebcd64ac25fe1
4 changes: 2 additions & 2 deletions Include/internal/pycore_ceval.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ _Py_Check_ArgsIterable(PyThreadState *tstate, PyObject *func, PyObject *args);

/*
* Indicate whether a special method of given 'oparg' can use the (improved)
* alternative errror message instead. Only methods loaded by LOAD_SPECIAL
* support alternative errror messages.
* alternative error message instead. Only methods loaded by LOAD_SPECIAL
* support alternative error messages.
*/
extern int
_PyEval_SpecialMethodCanSuggest(PyObject *self, int oparg);
Expand Down
Loading
0