Resets to 0 iterations for repeated use. Parameters ---------- total : int or float, optional. Total to use for the new bar.
(self, total=None)
| 129 | self._prog.update(self._task_id, completed=self.n, description=self.desc) |
| 130 | |
| 131 | def reset(self, total=None): |
| 132 | """ |
| 133 | Resets to 0 iterations for repeated use. |
| 134 | |
| 135 | Parameters |
| 136 | ---------- |
| 137 | total : int or float, optional. Total to use for the new bar. |
| 138 | """ |
| 139 | if hasattr(self, '_prog'): |
| 140 | self._prog.reset(total=total) |
| 141 | super().reset(total=total) |
| 142 | |
| 143 | |
| 144 | def trrange(*args, **kwargs): |
nothing calls this directly
no outgoing calls
no test coverage detected