'Select a valid choice. %(value)s is not one of the available choices.' for 'invalid_choice', and return value of the function _ called with an argument string 'Enter a list of values.' for 'invalid_list'. define the method to_python with arguments self and value.
def to_python ( self , value ) :