diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-03-16 22:18:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 22:18:04 (GMT) |
commit | 3f9285a8c52bf776c364f0cf4aecdd8f514ac4e1 (patch) | |
tree | 22d14446b3d59b7402b59bbad2c153b4ddcb1b21 /Python/sysmodule.c | |
parent | 405739f9166592104a5b0b945de92e28415ae972 (diff) | |
download | cpython-3f9285a8c52bf776c364f0cf4aecdd8f514ac4e1.zip cpython-3f9285a8c52bf776c364f0cf4aecdd8f514ac4e1.tar.gz cpython-3f9285a8c52bf776c364f0cf4aecdd8f514ac4e1.tar.bz2 |
gh-102755: Add PyErr_DisplayException(exc) (#102756)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index d282104..cc5b9a6 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -742,7 +742,7 @@ sys_excepthook_impl(PyObject *module, PyObject *exctype, PyObject *value, PyObject *traceback) /*[clinic end generated code: output=18d99fdda21b6b5e input=ecf606fa826f19d9]*/ { - PyErr_Display(exctype, value, traceback); + PyErr_Display(NULL, value, traceback); Py_RETURN_NONE; } |