def __init__(self, app, view, method):
        self.title = ''
        self.plugins = []
        self.plugin_keys = []
        self.param_list = []
        self.param_dict = {}
        self.param_index = []
        self.param_default = {}
        self.param_not_null = []
        self.param_allow_null = []
        self.param_types = {}
        self.code_index = []
        self.code_list = []
        self.code_dict = {}
        self.__element_code_set('success', 'Success', 'common')
        self.__element_code_set('exception', 'Unknown exception', 'common')
        self.__element_code_set('param_unknown', 'Unknown parameter', 'common')
        if not method.__doc__:
            raise Exception((view.__name__, method.__name__) % '%s.%s doc not undefined')
        try:
            doc_field = publish_doctree(method.__doc__)
            self.__parse_doc_tree(app, view, method, doc_field)
            self.__clear_up(app)
        except Exception:
            log.exception('element defined error')
dataset/ETHPy150Open remyzane/flask-http-api/http_api/element.py/Element.__init__/swapped operands of `%`