Reset the namespace and seek pointer to restart the demo
(self)
| 335 | self.reset() |
| 336 | |
| 337 | def reset(self): |
| 338 | """Reset the namespace and seek pointer to restart the demo""" |
| 339 | self.user_ns = {} |
| 340 | self.finished = False |
| 341 | self.block_index = 0 |
| 342 | |
| 343 | def _validate_index(self,index): |
| 344 | if index<0 or index>=self.nblocks: |
no outgoing calls