code: def peek(self):
          '''Return (but do not consume) the next token
  
          At the end of input, ``None`` is returned.
          '''
  
          if self.position >= len(self.tokens):
              return None
  
          return self.tokens[self.positionf peek(self):
          '''Return (but do not consume) the next token
  
          At the end of input, ``None`` is returned.
          '''
  
          if self.position >= len(self.tokens):
              return None
  
          return self.tokens[self.position]
docs: Return (but do not consume) the next token
  
          At the end of input, ``None`` is returned.