diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-04-16 10:46:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-16 10:46:38 +0300 |
commit | 55fe1ae9708d81b902b6fe8f6590e2a24b1bd4b0 (patch) | |
tree | c1b3aacf87240d393666321d49a5abde3e1d601f /Modules/signalmodule.c | |
parent | fdbd01151dbd5feea3e4c0316d102db3d2a2a412 (diff) | |
download | cpython-git-55fe1ae9708d81b902b6fe8f6590e2a24b1bd4b0.tar.gz |
bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r-- | Modules/signalmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index ed03683295..7982139822 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -1438,7 +1438,7 @@ PyInit__signal(void) #if defined (HAVE_SETITIMER) || defined (HAVE_GETITIMER) ItimerError = PyErr_NewException("signal.ItimerError", - PyExc_IOError, NULL); + PyExc_OSError, NULL); if (ItimerError != NULL) PyDict_SetItemString(d, "ItimerError", ItimerError); #endif |