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

This commit is contained in:
Stephen Morton 2025-07-26 09:44:12 -07:00 committed by GitHub
parent d658b9053b
commit d5fa437dfb
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;