mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[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:
parent
98ca0b3e2b
commit
c1cb785ebd
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
|
modstate->ignore_handler = state->ignore_handler; // borrowed ref
|
||||||
|
|
||||||
#ifdef PYHAVE_ITIMER_ERROR
|
#ifdef PYHAVE_ITIMER_ERROR
|
||||||
modstate->itimer_error = PyErr_NewException("signal.itimer_error",
|
modstate->itimer_error = PyErr_NewException("signal.ItimerError",
|
||||||
PyExc_OSError, NULL);
|
PyExc_OSError, NULL);
|
||||||
if (modstate->itimer_error == NULL) {
|
if (modstate->itimer_error == NULL) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue