def get_poem():
    from twisted.internet import reactor
    d = Deferred()
    reactor.callLater(5, send_poem, d)
    return d
Return a poem 5 seconds later.
dataset/ETHPy150Open jdavisp3/twisted-intro/deferred-cancel/defer-cancel-9.py/get_poem