##// END OF EJS Templates
Fix Python 3 bug in demo module
Thomas Kluyver -
Show More
@@ -304,7 +304,7 b' class Demo(object):'
304 self.src_blocks = src_blocks
304 self.src_blocks = src_blocks
305
305
306 # also build syntax-highlighted source
306 # also build syntax-highlighted source
307 self.src_blocks_colored = map(self.ip_colorize,self.src_blocks)
307 self.src_blocks_colored = list(map(self.ip_colorize,self.src_blocks))
308
308
309 # ensure clean namespace and seek offset
309 # ensure clean namespace and seek offset
310 self.reset()
310 self.reset()
General Comments 0
You need to be logged in to leave comments. Login now