(self, variable)
:param variable: The variable whose transformed value is returned.
        :type variable: int or str or :obj:`~Orange.data.Variable`
:param variable: The variable whose transformed value is returned.
        :type variable: int or str or :obj:`~Orange.data.Variable`
: param variable : The variable whose transformed value is returned . : type variable : int or str or : obj : ~Orange . data . Variable
def __init__(self, variable):
        """
        :param variable: The variable whose transformed value is returned.
        :type variable: int or str or :obj:`~Orange.data.Variable`
        """
        self.variable = variable

        if self.variable is not None:
            if self.variable.is_primitive():
                self.need_domain = Domain([self.variable])
            else:
                self.need_domain = Domain([], metas=[self.variable])
def __init__ ( self , variable ) : self . variable = variable if self . variable is not None : if self . variable . is_primitive ( ) : self . need_domain = Domain ( [ self . variable ] ) else : self . need_domain = Domain ( [ ] , metas = [ self . variable ] )