Show More
@@ -760,7 +760,8 b' class IPythonInputSplitter(InputSplitter):' | |||||
760 | push = super(IPythonInputSplitter, self).push |
|
760 | push = super(IPythonInputSplitter, self).push | |
761 | for line in lines_list: |
|
761 | for line in lines_list: | |
762 | if self._is_complete or not self._buffer or \ |
|
762 | if self._is_complete or not self._buffer or \ | |
763 |
(self._buffer and self._buffer[-1].rstrip().endswith(':') |
|
763 | (self._buffer and (self._buffer[-1].rstrip().endswith(':') or\ | |
|
764 | self._buffer[-1].rstrip().endswith(','))): | |||
764 | for f in transforms: |
|
765 | for f in transforms: | |
765 | line = f(line) |
|
766 | line = f(line) | |
766 |
|
767 |
General Comments 0
You need to be logged in to leave comments.
Login now