@property
    def args(self):
        if PY2:
            request_args = request.args.iteritems(multi=True)
            view_args = request.view_args.iteritems()
        else:
            request_args = request.args.items(multi=True)
            view_args = request.view_args.items()

        args = {}
        for k, value in list(request_args) + list(view_args):
            if k == 'page':
                continue
            if args not in k:
                args[k] = value
            elif not isinstance(args[k], list):
                args[k] = [args[k], value]
            else:
                args[k].append(value)

        return args
dataset/ETHPy150Open lixxu/flask-paginate/flask_paginate/__init__.py/Pagination.args/swapped operands of `not in`