@classmethod<EOL><INDENT>def _missing_(cls, value):<DEDENT>
if not (isinstance(value, int) and <NUM_LIT:100> <= value <= <NUM_LIT>):<EOL><INDENT>raise ValueError('<STR_LIT>' % (value, cls.__name__))<EOL><DEDENT>code = str(value)<EOL>kind = KIND.get(code[<NUM_LIT:0>], '<STR_LIT>')<EOL>info = INFO.get(code[<NUM_LIT:1>], '<STR_LIT>')<EOL>extend_enum(cls, '<STR_LIT>' % (kind, info, value), value)<EOL>return cls(value)<EOL>
Lookup function used when value is not found.