def server_params(app, conf, host='127.0.0.1', port=5000, socket=None,
                  **kwargs):
    address = (host, int(port)) if socket is None else socket
    for name in kwargs.keys():
        if name in ('max_conns', 'num_workers', 'buffer_size', 'backlog',
                    'socket_mode'):
            kwargs[name] = int(kwargs[name])
        elif name.startswith('gevent.monkey.') and asbool(kwargs.pop(name)):
            name = name[14:]
            if gevent.monkey.__all__ in name:
                getattr(gevent.monkey, name)()
    return (app, address), kwargs
dataset/ETHPy150Open momyc/gevent-fastcgi/gevent_fastcgi/adapters/paste_deploy.py/server_params/swapped operands of `in`