diff --git a/IPython/core/display.py b/IPython/core/display.py index 8c1cc85..3de3f68 100644 --- a/IPython/core/display.py +++ b/IPython/core/display.py @@ -787,6 +787,10 @@ class ProgressBar(DisplayObject): return self.progress else: raise StopIteration() + + def next(self): + """Python 2 compatibility""" + returun self.__next__() class JSON(DisplayObject): """JSON expects a JSON-able dict or list