[Twisted-Python] Possible error in core documentation in defer.html

Pierre Rouleau Pierre_Rouleau at ImpathNetworks.com
Tue Dec 19 14:53:33 MST 2006


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?

-- 
Pierre Rouleau






More information about the Twisted-Python mailing list