#NEWLINE# def attrs( self , attribute_name ) : #NEWLINE# #INDENT# '\n        Retrieve HTML attribute values from the elements matched by the query.\n\n        Example usage:\n\n        .. code:: python\n\n            # Assume that the query matches html elements:\n            # <div class="foo"> and <div class="bar">\n            >> q.attrs(\'class\')\n            [\'foo\', \'bar\']\n\n        Args:\n            attribute_name (str): The name of the attribute values to retrieve.\n\n        Returns:\n            A list of attribute values for `attribute_name`.\n        ' #NEWLINE# desc = 'attrs({!r})' . format ( attribute_name ) #NEWLINE# return self . map ( ( lambda el : el . get_attribute ( attribute_name ) ) , desc ) . results