twisted.conch.endpoints._ReadFile(object)
class documentationtwisted.conch.endpoints
View Source
(View In Hierarchy)
A weakly file-like object which can be used with KnownHostsFile
to respond in the negative to all prompts for decisions.
Method | __init__ | |
Method | write | No-op. |
Method | readline | Always give back the byte string that this _ReadFile
was initialized with. |
Method | close | No-op. |
Parameters | contents | bytes
which will be returned from every readline call. |