https://github.com/python/cpython/commit/d5fa437dfb50e2e47632cdc994e3257608688f30
commit: d5fa437dfb50e2e47632cdc994e3257608688f30
branch: main
author: Stephen Morton <g...@tungol.org>
committer: kumaraditya303 <kumaradi...@python.org>
date: 2025-07-26T22:14:12+05:30
summary:

gh-126662: naming consistency for `signal.ItimerError` (#126712)

files:
M Modules/signalmodule.c

diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 54bcd3270ef31a..c1c3d7c9c05534 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -1623,7 +1623,7 @@ signal_module_exec(PyObject *m)
     modstate->ignore_handler = state->ignore_handler;  // borrowed ref
 
 #ifdef PYHAVE_ITIMER_ERROR
-    modstate->itimer_error = PyErr_NewException("signal.itimer_error",
+    modstate->itimer_error = PyErr_NewException("signal.ItimerError",
                                                 PyExc_OSError, NULL);
     if (modstate->itimer_error == NULL) {
         return -1;

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to