parameters: (*args, **kwargs)
return_statement: return select_or_reject(args, kwargs, lambda x: x, True)
docstring: Filters a sequence of objects by applying a test to the specified
      attribute of each object, and only selecting the objects with the
      test succeeding.
  
      If no test is specified, the attribute's value will be evaluated as
      a boolean.
  
      Example usage:
  
      .. sourcecode:: jinja
  
          {{ users|selectattr("is_active") }}
          {{ users|selectattr("email", "none") }}
  
      Similar to a generator comprehension such as:
  
      .. code-block:: python
  
          (u for user in users if user.is_active)
          (u for user in users if test_none(user.email))
  
      .. versionadded:: 2.7
docstring_summary: Filters a sequence of objects by applying a test to the specified
      attribute of each object, and only selecting the objects with the
      test succeeding.
docstring_tokens: Filters a sequence of objects by applying a test to the specified attribute of each object and only selecting the objects with the test succeeding .
function: def do_selectattr(*args, **kwargs):
      """Filters a sequence of objects by applying a test to the specified
      attribute of each object, and only selecting the objects with the
      test succeeding.
  
      If no test is specified, the attribute's value will be evaluated as
      a boolean.
  
      Example usage:
  
      .. sourcecode:: jinja
  
          {{ users|selectattr("is_active") }}
          {{ users|selectattr("email", "none") }}
  
      Similar to a generator comprehension such as:
  
      .. code-block:: python
  
          (u for user in users if user.is_active)
          (u for user in users if test_none(user.email))
  
      .. versionadded:: 2.7
      """
      return select_or_reject(args, kwargs, lambda x: x, True)
function_tokens: def do_selectattr ( * args , * * kwargs ) : return select_or_reject ( args , kwargs , lambda x : x , True )