diff --git a/IPython/lib/pretty.py b/IPython/lib/pretty.py index 1465a6a..49ee2ce 100644 --- a/IPython/lib/pretty.py +++ b/IPython/lib/pretty.py @@ -273,7 +273,7 @@ class PrettyPrinter(_PrettyPrinterBase): self.text(',') self.breakable() self.text('...') - raise StopIteration + return yield idx, x def end_group(self, dedent=0, close=''):