Ticket #2306 defect closed fixed

Opened 6 years ago

Last modified 6 years ago

Possible error in documentation, in defer.html

Reported by: roup Owned by:
Priority: low Milestone:
Component: core Keywords: Documentation
Cc: Branch:
Author: Launchpad Bug:

Description

- 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)

Change History

1

Changed 6 years ago by exarkun

  • status changed from new to closed
  • resolution set to fixed

(In [19047]) Apply fix for Deferred documentation bug

Author: roup Reviewer: exarkun Fixes #2306

Replace erroneous "getData" call with a call to the function actually defined in the documentation, "getDummyData".

2

Changed 2 years ago by <automation>

  • owner glyph deleted
Note: See TracTickets for help on using tickets.