def RegisterBuiltin(cls, arg):
if arg in cls.types_dict:<EOL><INDENT>raise RuntimeError('<STR_LIT>' %arg)<EOL><DEDENT>class _Wrapper(arg):<EOL><INDENT>'<STR_LIT>' %(arg, cls.__doc__)<EOL><DEDENT>_Wrapper.__name__ = '<STR_LIT>' %arg.__name__<EOL>cls.types_dict[arg] = _Wrapper<EOL>
register a builtin, create a new wrapper.