##// END OF EJS Templates
Add next() for Python 2 compatibility.
Matthias Bussonnier -
Show More
@@ -788,6 +788,10 class ProgressBar(DisplayObject):
788 else:
788 else:
789 raise StopIteration()
789 raise StopIteration()
790
790
791 def next(self):
792 """Python 2 compatibility"""
793 returun self.__next__()
794
791 class JSON(DisplayObject):
795 class JSON(DisplayObject):
792 """JSON expects a JSON-able dict or list
796 """JSON expects a JSON-able dict or list
793
797
General Comments 0
You need to be logged in to leave comments. Login now