Show More
@@ -99,6 +99,7 b' class PTInteractiveShell(InteractiveShell):' | |||||
99 |
|
99 | |||
100 | def interact(self): |
|
100 | def interact(self): | |
101 | while self.keep_running: |
|
101 | while self.keep_running: | |
|
102 | print(self.separate_in, end='') | |||
102 | try: |
|
103 | try: | |
103 | document = self.pt_cli.run() |
|
104 | document = self.pt_cli.run() | |
104 | except EOFError: |
|
105 | except EOFError: | |
@@ -108,7 +109,6 b' class PTInteractiveShell(InteractiveShell):' | |||||
108 | else: |
|
109 | else: | |
109 | if document: |
|
110 | if document: | |
110 | self.run_cell(document.text, store_history=True) |
|
111 | self.run_cell(document.text, store_history=True) | |
111 | print(self.separate_in, end='') |
|
|||
112 |
|
112 | |||
113 |
|
113 | |||
114 | if __name__ == '__main__': |
|
114 | if __name__ == '__main__': |
General Comments 0
You need to be logged in to leave comments.
Login now