def __init__(self, declaration):
        """
        Initializes a new object that encapsulate the tinycss declaration.

        :param declaration: The tinycss declaration.
        :type declaration: tinycss.css21.Declaration
        """

        helper.require_not_none(declaration)
        helper.require_valid_type(declaration, Declaration)

        self.declaration = declaration
def __init__ ( self , declaration ) : helper . require_not_none ( declaration ) helper . require_valid_type ( declaration , Declaration ) self . declaration = declaration
Initializes a new object that encapsulate the tinycss declaration.

        :param declaration: The tinycss declaration.
        :type declaration: tinycss.css21.Declaration