def convergents(contfrac):
    cs = continuants(contfrac)
    p0, q0 = cs.next()
    yield p0/q0
    for p, q in cs:
        if p == 0:
            break
        yield p/q
        p0, q0 = p, q
    c = p0/q0
    while True:
        yield c
Returns a :class:`Deferred` object which will have its callback invoked
dataset/ETHPy150Open probcomp/bayeslite/src/math_util.py/convergents--crossover with--dataset/ETHPy150Open couchbase/couchbase-python-client/txcouchbase/bucket.py/RawBucket.queryAll