Skip to content

gh-136549: Fix signature of threading.excepthook() #136559

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
Show file tree
Hide file tree
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
Next Next commit
gh-136549: Fix signature of threading.excepthook()
  • Loading branch information
serhiy-storchaka committed Jul 11, 2025
commit 48d3f68d82b50d054b6394e182cf9522ea42842a
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix signature of :func:`threading.excepthook`.
2 changes: 1 addition & 1 deletion Modules/_threadmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2330,7 +2330,7 @@ thread_excepthook(PyObject *module, PyObject *args)
}

PyDoc_STRVAR(excepthook_doc,
"_excepthook($module, (exc_type, exc_value, exc_traceback, thread), /)\n\
"_excepthook($module, args, /)\n\
--\n\
\n\
Handle uncaught Thread.run() exception.");
Expand Down
Loading