(cls, value)
return new_member
Returns member (possibly creating it) if one can be found for value.
Returns member (possibly creating it) if one can be found for value.
Returns member ( possibly creating it ) if one can be found for value .
def _missing_(cls, value):
        """
        Returns member (possibly creating it) if one can be found for value.
        """
        if not isinstance(value, int):
            raise ValueError("%r is not a valid %s" % (value, cls.__qualname__))
        new_member = cls._create_pseudo_member_(value)
        return new_member
def _missing_ ( cls , value ) : if not isinstance ( value , int ) : raise ValueError ( "%r is not a valid %s" % ( value , cls . __qualname__ ) ) new_member = cls . _create_pseudo_member_ ( value ) return new_member