summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 7b755c6f538..f65380be34f 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3347,7 +3347,7 @@ def __PYTHON_EL_native_completion_setup():
readline.parse_and_bind('set show-all-if-ambiguous on')
print ('python.el: readline is available')
- except IOError:
+ except:
print ('python.el: readline not available')
__PYTHON_EL_native_completion_setup()"