summaryrefslogtreecommitdiffstats
path: root/Lib/pstats.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pstats.py')
-rw-r--r--Lib/pstats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py
index 19478d6..b46727d 100644
--- a/Lib/pstats.py
+++ b/Lib/pstats.py
@@ -533,7 +533,7 @@ if __name__ == '__main__':
import cmd
try:
import readline
- except:
+ except ImportError:
pass
class ProfileBrowser(cmd.Cmd):