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 3cd33de..846cd04 100644 --- a/Lib/code.py +++ b/Lib/code.py @@ -70,7 +70,7 @@ class InteractiveInterpreter: """ try: code = compile_command(source, filename, symbol) - except (OverflowError, SyntaxError): + except (OverflowError, SyntaxError, ValueError): # Case 1 self.showsyntaxerror(filename) return 0 |