Show More
@@ -310,7 +310,7 b' class InputSplitter(object):' | |||
|
310 | 310 | |
|
311 | 311 | self._update_indent(lines) |
|
312 | 312 | try: |
|
313 | self.code = self._compile(source) | |
|
313 | self.code = self._compile(source, symbol="exec") | |
|
314 | 314 | # Invalid syntax can produce any of a number of different errors from |
|
315 | 315 | # inside the compiler, so we have to catch them all. Syntax errors |
|
316 | 316 | # immediately produce a 'ready' block, so the invalid Python can be |
General Comments 0
You need to be logged in to leave comments.
Login now