[Twisted-Python] Possible error in core documentation in defer.html
Jean-Paul Calderone
exarkun at divmod.com
Tue Dec 19 17:12:53 EST 2006
On Tue, 19 Dec 2006 16:53:33 -0500, Pierre Rouleau <pierre_rouleau at impathnetworks.com> wrote:
>Hi all,
>
>- Page:
>http://twistedmatrix.com/projects/core/documentation/howto/defer.html
>
>- Section: Multiple callbacks
>
>The example ends with::
>
> # this series of callbacks and errbacks will print "Result: 12"
> g = Getter()
> d = g.getData(4)
> d.addCallback(printData)
> d.addErrback(printError)
>
>
>The line::
>
> d = g.getData(4)
>
>should be::
>
> d = g.getDummyData(4)
>
>
>
>Should I enter this in TRAC?
>
Please do.
Jean-Paul
More information about the Twisted-Python
mailing list