Start a new session, thereby setting the next index as the first index in the new session.
(self)
| 155 | self.session_start_index = 0 |
| 156 | |
| 157 | def start_session(self) -> None: |
| 158 | """Start a new session, thereby setting the next index as the first index in the new session.""" |
| 159 | self.session_start_index = len(self) |
| 160 | |
| 161 | def _zero_based_index(self, onebased: int | str) -> int: |
| 162 | """Convert a one-based index to a zero-based index.""" |
no outgoing calls