code: def iter_tokens(cls, blob):
      
      readline_func = io.StringIO(blob.decode('utf-8')).readline
      return tokenize.generate_tokens(readline_func)
docs: Iterate over tokens found in blob contents
      :param blob: Input string with python file contents
      :return: token iterator