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