[Twisted-Python] Re: [Twisted-commits] r13382 - Add a new howto with deferred 'recipes': at the moment just timeouts (fixes #952)

Jp Calderone exarkun at divmod.com
Fri Apr 1 09:05:47 EST 2005


On Fri, 01 Apr 2005 01:56:57 -0700, Mary Gardiner <mary at wolfwood.twistedmatrix.com> wrote:
>Author: mary
> Date: Fri Apr  1 01:56:57 2005
> New Revision: 13382
> 
> Added:
>    trunk/doc/core/howto/deferrecipes.xhtml
> Modified:
>    trunk/doc/core/howto/async.xhtml
>    trunk/doc/core/howto/defer.xhtml
>    trunk/doc/core/howto/gendefer.xhtml
> Log:
> Add a new howto with deferred 'recipes': at the moment just timeouts (fixes #952)
> 
> 

> def getTimeoutCancelFunction(delayedCall):
>     """
>     Return a function which will cancel the delayedCall
>     """
> [snip ...]
> 
> def timeoutSetter():
> [snip ...]
>     d.addBoth(getTimeoutCancelFunction)
> [snip ...]

  This usage doesn't seem to match up with the definition.  Maybe getTimeoutCancelFunction()?

  Jp




More information about the Twisted-Python mailing list