parameters: (responses, default=None)
return_statement: return default
docstring: Find first non None response in a list of tuples.
  
      This function can be used to find the first non None response from
      handlers connected to an event.  This is useful if you are interested
      in the returned responses from event handlers. Example usage::
  
          print(first_non_none_response([(func1, None), (func2, 'foo'),
                                         (func3, 'bar')]))
          # This will print 'foo'
  
      :type responses: list of tuples
      :param responses: The responses from the ``EventHooks.emit`` method.
          This is a list of tuples, and each tuple is
          (handler, handler_response).
  
      :param default: If no non-None responses are found, then this default
          value will be returned.
  
      :return: The first non-None response in the list of tuples.
docstring_summary: Find first non None response in a list of tuples.
docstring_tokens: Find first non None response in a list of tuples .
function: def first_non_none_response(responses, default=None):
      """Find first non None response in a list of tuples.
  
      This function can be used to find the first non None response from
      handlers connected to an event.  This is useful if you are interested
      in the returned responses from event handlers. Example usage::
  
          print(first_non_none_response([(func1, None), (func2, 'foo'),
                                         (func3, 'bar')]))
          # This will print 'foo'
  
      :type responses: list of tuples
      :param responses: The responses from the ``EventHooks.emit`` method.
          This is a list of tuples, and each tuple is
          (handler, handler_response).
  
      :param default: If no non-None responses are found, then this default
          value will be returned.
  
      :return: The first non-None response in the list of tuples.
  
      """
      for response in responses:
          if response[1] is not None:
              return response[1]
      return default
function_tokens: def first_non_none_response ( responses , default = None ) : for response in responses : if response [ 1 ] is not None : return response [ 1 ] return default