##// END OF EJS Templates
Add writeln convenience method to Term streams.
Fernando Perez -
Show More
@@ -76,6 +76,10 b' class IOStream:'
76 print >> sys.stderr, \
76 print >> sys.stderr, \
77 'ERROR - failed to write data to stream:', self.stream
77 'ERROR - failed to write data to stream:', self.stream
78
78
79 def writeln(self, data):
80 self.write(data)
81 self.write('\n')
82
79 def close(self):
83 def close(self):
80 pass
84 pass
81
85
General Comments 0
You need to be logged in to leave comments. Login now