ITelnetTransport API documentation is incorrect for refusal case
|Reported by:||exarkun||Owned by:|
(diff, github, buildbot, log)
The do and will methods claim that the Deferred will fire with False if the option is refused. In fact, in the only implementation, the do Deferred will fire with OptionRefused and the will Deferred will probably errback with an AssertionError because of #4231.
The docs should be updated to reflect the implementation (not the reverse, since people might actually have depended on the currently implemented behavior).
Change History (6)
comment:2 Changed 4 years ago by exarkun
- Branch changed from branches/telnet-transport-docs-4677 to branches/telnet-transport-docs-4677-2