Move forward to the end of the history.
(self)
| 171 | return self.index |
| 172 | |
| 173 | def last(self) -> str: |
| 174 | """Move forward to the end of the history.""" |
| 175 | if not self.is_at_start: |
| 176 | self.index = 0 |
| 177 | return self.entries[0] |
| 178 | |
| 179 | @property |
| 180 | def is_at_end(self) -> bool: |
no outgoing calls