def encode_arg11(p):
    if type(p) is list:
        return p
    elif not type(p) is dict:
        return []
    else:
        pos = []
        d = encode_kw(p)
        for k, v in iteritems(d):
            try:
                pos.append(int(k))
            except __HOLE__:
                pass
        pos = list(set(pos))
        pos.sort()
        return [d[text_type(i)] for i in pos]
dataset/ETHPy150Open cenobites/flask-jsonrpc/flask_jsonrpc/site.py/encode_arg11