code: def input(self, data):
          
          # input(..) doesn't reset the lineno. We have to do that manually.
          self._lexer.lineno = 1
          return self._lexer.input(data)
docs: Reset the lexer and feed in new input.
  
          :param data:
              String of input data.