##// END OF EJS Templates
Merge branch 'djv-master': partial fix for issue #678....
Fernando Perez -
r5093:a030f7eb merge
parent child Browse files
Show More
@@ -758,9 +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 self._buffer or \
763 (self._buffer and self._buffer[-1].rstrip().endswith(':')):
763 if self._is_complete or not buf or \
764 (buf and (buf[-1].rstrip().endswith(':') or
765 buf[-1].rstrip().endswith(',')) ):
764 766 for f in transforms:
765 767 line = f(line)
766 768
@@ -534,6 +534,12 b' syntax_ml = \\'
534 534 (' ....: ', ''),
535 535 ],
536 536 ],
537
538 multiline_datastructure =
539 [ [('>>> a = [1,','a = [1,'),
540 ('... 2]','2]'),
541 ],
542 ],
537 543 )
538 544
539 545
General Comments 0
You need to be logged in to leave comments. Login now