def __init__(self, value, validator=lambda value: True):
        "Initializes instance variables and validates the value."
        self.__value, self.__validator = value, validator
        self.validate(value)
Initializes instance variables and validates the value.
recipes/Python/578173_Settings_Organizer/recipe-578173.py