def include(*what):
    """
    Include *what*.

    :param what: What to include.
    :type what: `list` of `type` or `attrs.Attribute`\\ s

    :rtype: `callable`
    """
    cls, attrs = _split_what(what)

    def include_(attribute, value):
        return value.__class__ in cls or attribute in attrs

    return include_

    Include *what*.

    :param what: What to include.
    :type what: `list` of `type` or `attrs.Attribute`\ s

    :rtype: `callable`
    
lib/attr/filters.py