def defer_succeed(result):
 d = defer.Deferred()
 reactor.callLater(0, d.callback, result)
 return d

def defer_succeed ( result ) : d = defer . Deferred ( ) reactor . callLater ( 0 , d . callback , result ) return d
same as twisted .