Opened 8 years ago

Closed 8 years ago

#2306 defect closed fixed (fixed)

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

  • 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 (2)

comment:1 Changed 8 years ago by exarkun

  • Resolution set to fixed
  • Status changed from new to closed

(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".

comment:2 Changed 4 years ago by <automation>

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