mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
gh-126662: naming consistency for signal.ItimerError (#126712)
This commit is contained in:
parent
d658b9053b
commit
d5fa437dfb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue