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):
Parameterscontentsbytes which will be returned from every readline call.
def write(self, data):

No-op.

Parametersdataignored
def readline(self, count=-1):

Always give back the byte string that this _ReadFile was initialized with.

Parameterscountignored
ReturnsA fixed byte-string. (type: bytes)
def close(self):

No-op.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.