def enum(name, *members, **withvalue):
if len(members) == <NUM_LIT:1>:<EOL><INDENT>if isinstance(members[<NUM_LIT:0>], str):<EOL><INDENT>members = members[<NUM_LIT:0>].split()<EOL><DEDENT>elif isinstance(members[<NUM_LIT:0>], (list, tuple)):<EOL><INDENT>members = members[<NUM_LIT:0>]<EOL><DEDENT><DEDENT>dic = {v: v for v in members}<EOL>dic.update(withvalue)<EOL>return type(name, (Enum,), dic)<EOL>
class buider