equal
deleted
inserted
replaced
1213 pass |
1213 pass |
1214 |
1214 |
1215 # call write() so output goes through subclassed implementation |
1215 # call write() so output goes through subclassed implementation |
1216 # e.g. color extension on Windows |
1216 # e.g. color extension on Windows |
1217 self.write(prompt, prompt=True) |
1217 self.write(prompt, prompt=True) |
|
1218 self.flush() |
1218 |
1219 |
1219 # instead of trying to emulate raw_input, swap (self.fin, |
1220 # instead of trying to emulate raw_input, swap (self.fin, |
1220 # self.fout) with (sys.stdin, sys.stdout) |
1221 # self.fout) with (sys.stdin, sys.stdout) |
1221 oldin = sys.stdin |
1222 oldin = sys.stdin |
1222 oldout = sys.stdout |
1223 oldout = sys.stdout |