class_docstr: Caching wrapper for the tokenize module.
  
  This is pretty tied to Python's syntax.
code: def reset(self, index: Mark) -> None:
      if index == self._index:
          return
      assert 0 <= index <= len(self._tokens), (index, len(self._tokens))
      old_index = self._index
      self._index = index
      if self._verbose:
          self.report(True, index < old_index)
  
file_path: cpython/Tools/peg_generator/pegen/tokenizer.py
imports: import token
  import tokenize
  from typing import Dict, Iterator, List
label_desc: Use image node_id 8 for calling the Tokenizer obj's underlying member method code with example usage: obj.reset(index) without return types