summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py
index 4f96ca9..8797938 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -416,7 +416,7 @@ def enablerlcompleter():
'.python_history')
try:
readline.read_history_file(history)
- except IOError:
+ except OSError:
pass
atexit.register(readline.write_history_file, history)