def iter_args(self):
        args, _, _, defaults = inspect.getargspec(self.method)  # NOQA

        for idx, arg in enumerate(args):
            if arg in ('self', 'request', 'form'):
                continue

            didx = idx - len(args)

            if defaults and len(defaults) >= didx:
                yield (arg, str(defaults[-didx]))
            else:
                yield (arg, None)
dataset/ETHPy150Open treeio/treeio/treeio/core/api/doc.py/HandlerMethod.iter_args/swapped operands of `-`