[3.14] gh-126662: naming consistency for signal.ItimerError (GH-126712) (#137122)

gh-126662: naming consistency for `signal.ItimerError` (GH-126712)
(cherry picked from commit d5fa437dfb)

Co-authored-by: Stephen Morton <git@tungol.org>
This commit is contained in:
Miss Islington (bot) 2025-10-07 19:42:46 +02:00 committed by GitHub
parent 98ca0b3e2b
commit c1cb785ebd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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;