Ticket #5174 defect new
The docstring of twisted.python.components.Componentized.addComponent is not consistent with its code
|Reported by:||jafd||Owned by:||wirehead|
(diff, github, buildbot, log)
Description (last modified by thijs) (diff)
This docstring contains the following:
@return: the list of appropriate interfaces
While the code itself does not have any return statement at all.
The only instance of code invoking addComponent, at twisted.application.service.Application, does not expect any return value.
Either docstring should be fixed to not mention return values, or the code should actually return it.