Skip to content

Commit 48d3f68

Browse files
gh-136549: Fix signature of threading.excepthook()
1 parent 7f1e66a commit 48d3f68

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix signature of :func:`threading.excepthook`.

Modules/_threadmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2330,7 +2330,7 @@ thread_excepthook(PyObject *module, PyObject *args)
23302330
}
23312331

23322332
PyDoc_STRVAR(excepthook_doc,
2333-
"_excepthook($module, (exc_type, exc_value, exc_traceback, thread), /)\n\
2333+
"_excepthook($module, args, /)\n\
23342334
--\n\
23352335
\n\
23362336
Handle uncaught Thread.run() exception.");

0 commit comments

Comments
 (0)