(self)
| 245 | self.display(check_delay=False) |
| 246 | |
| 247 | def __iter__(self): |
| 248 | try: |
| 249 | it = super().__iter__() |
| 250 | yield from it |
| 251 | # NB: except ... [ as ...] breaks IPython async KeyboardInterrupt |
| 252 | except: # NOQA |
| 253 | self.disp(bar_style='danger') |
| 254 | raise |
| 255 | # NB: don't `finally: close()` |
| 256 | # since this could be a shared bar which the user will `reset()` |
| 257 | |
| 258 | def update(self, n=1): |
| 259 | try: |
nothing calls this directly
no outgoing calls
no test coverage detected