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