diff options
Diffstat (limited to 'Lib/code.py')
-rw-r--r-- | Lib/code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/code.py b/Lib/code.py index 9020aab..a1ac904 100644 --- a/Lib/code.py +++ b/Lib/code.py @@ -293,7 +293,7 @@ def interact(banner=None, readfunc=None, local=None): else: try: import readline - except ImportError: + except ModuleNotFoundError: pass console.interact(banner) |