def delete_func_code(): func_dict = get_dict(FunctionType) del func_dict['func_code'] del func_dict['__closure__']
def delete_type(): type_dict = get_dict(type) del type_dict['__bases__'] del type_dict['__subclasses__']
def delete_func_code(): func_dict = get_dict(FunctionType) del func_dict['func_code']