Ticket #4882 defect closed fixed
Documentation for fireOnOneCallback parameter of DeferredList is incorrect
| Reported by: | exarkun | Owned by: | exarkun |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | documentation |
| Cc: | Branch: | branches/fireononecallback-4882 | |
| Author: | exarkun | Launchpad Bug: |
Description
The __init__ docstring says this about fireOnOneCallback:
When this flag is set, the DeferredList will fire with a two-tuple: the first element is the index in C{deferredList} of the Deferred which fired; the second element is the result of that Deferred.
The implementation of the flag looks like this, though:
if succeeded == SUCCESS and self.fireOnOneCallback:
self.callback((result, index))
Change History
Note: See
TracTickets for help on using
tickets.
