Show More
@@ -2209,7 +2209,7 b' class InteractiveShell(object,Magic):' | |||||
2209 |
|
2209 | |||
2210 | try: |
|
2210 | try: | |
2211 | code = self.compile(source,filename,symbol) |
|
2211 | code = self.compile(source,filename,symbol) | |
2212 | except (OverflowError, SyntaxError, ValueError, TypeError): |
|
2212 | except (OverflowError, SyntaxError, ValueError, TypeError, MemoryError): | |
2213 | # Case 1 |
|
2213 | # Case 1 | |
2214 | self.showsyntaxerror(filename) |
|
2214 | self.showsyntaxerror(filename) | |
2215 | return None |
|
2215 | return None |
General Comments 0
You need to be logged in to leave comments.
Login now