'Returns all the constants present in the arguments.'

def constants(self):

    const_list = []
    const_dict = {}
    for arg in self.args:
        const_list += arg.constants()
    const_dict = {id(constant): constant for constant in const_list}
    return list(const_dict.values())
