]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-126662: naming consistency for `signal.ItimerError` (#126712)
authorStephen Morton <git@tungol.org>
Sat, 26 Jul 2025 16:44:12 +0000 (09:44 -0700)
committerGitHub <noreply@github.com>
Sat, 26 Jul 2025 16:44:12 +0000 (22:14 +0530)
Modules/signalmodule.c

index 54bcd3270ef31ac49f67a59fcaa6ad7934464f0c..c1c3d7c9c055345651831ebec24c29f1b0b2d8c7 100644 (file)
@@ -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;