diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-09-01 03:46:16 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-09-01 03:46:16 (GMT) |
commit | 51ee09b99539b5bdf54ad91670820adf57d462d8 (patch) | |
tree | 0990e3d09b437c7cd0e28e2225b70f0bcd35d2ae /Modules/_cursesmodule.c | |
parent | d320c348f8c0115ce95a80524ac102ad5f6372ff (diff) | |
download | cpython-51ee09b99539b5bdf54ad91670820adf57d462d8.zip cpython-51ee09b99539b5bdf54ad91670820adf57d462d8.tar.gz cpython-51ee09b99539b5bdf54ad91670820adf57d462d8.tar.bz2 |
Don't call Py_FatalError in module initialization
(leaving the rest of the modules for Barry)
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 8816901..1920ee0 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -2352,8 +2352,4 @@ init_curses(void) SetDictInt("KEY_MIN", KEY_MIN); SetDictInt("KEY_MAX", KEY_MAX); } - - /* Check for errors */ - if (PyErr_Occurred()) - Py_FatalError("can't initialize module _curses"); } |