[Twisted-Python] Possible error in core documentation in defer.html
![](https://secure.gravatar.com/avatar/a1884087ad610dd2f51dfcbe32512f54.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/7ed9784cbb1ba1ef75454034b3a8e6a1.jpg?s=120&d=mm&r=g)
On Tue, 19 Dec 2006 16:53:33 -0500, Pierre Rouleau <pierre_rouleau@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
![](https://secure.gravatar.com/avatar/a1884087ad610dd2f51dfcbe32512f54.jpg?s=120&d=mm&r=g)
Jean-Paul Calderone wrote:
On Tue, 19 Dec 2006 16:53:33 -0500, Pierre Rouleau <pierre_rouleau@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.
Done. Ticket 2306. It's the first ticket I enter here. Let me know if there's any wrong. I read http://twistedmatrix.com/trac/wiki/IssueSubmissionGuidelines but there's not much in that page. I could not find if there's a category for documentation, so I just placed documentation in the keywords field. -- Pierre Rouleau
participants (2)
-
Jean-Paul Calderone
-
Pierre Rouleau