#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)
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.
Change History (12)
comment:1 Changed 4 years ago by thijs
- Cc thijs added
- Description modified (diff)
- Keywords documentation added
Changed 2 years ago by wirehead
comment:3 Changed 2 years ago by wirehead
- Keywords review added
- Owner wirehead deleted
- Status changed from assigned to new