code: def peek(self) -> str:
          
          try:
              return self.input[self.offset]
          except IndexError:
              raise EndOfInput(self)
docs: Return the next character without advancing offset.
  
          Raises:
              EndOfInput: If past the end of `self.input`.