t.c.e._ReadFile(object) : class documentation

Part of twisted.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.
def __init__(self, contents): (source)
Parameterscontentsbytes which will be returned from every readline call.
def write(self, data): (source)
No-op.
Parametersdataignored
def readline(self, count=-1): (source)
Always give back the byte string that this _ReadFile was initialized with.
Parameterscountignored
ReturnsA fixed byte-string. (type: bytes)
def close(self): (source)
No-op.
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.