class documentation

class twisted.conch.client.knownhosts.UnparsedEntry: (source)

Implements interfaces: twisted.conch.interfaces.IKnownHostEntry

View In Hierarchy

UnparsedEntry is an entry in a KnownHostsFile which can't actually be parsed; therefore it matches no keys and no hosts.

Method __init__ Create an unparsed entry from a line in a known_hosts file which cannot otherwise be parsed.
Method matchesHost Always returns False.
Method matchesKey Always returns False.
Method toString Returns the input line, without its newline if one was given.
Instance Variable _string Undocumented
def __init__(self, string): (source)

Create an unparsed entry from a line in a known_hosts file which cannot otherwise be parsed.

_string = (source)

Undocumented

def matchesHost(self, hostname): (source)

Always returns False.

def matchesKey(self, key): (source)

Always returns False.

def toString(self): (source)

Returns the input line, without its newline if one was given.

ReturnsThe string representation of this entry, almost exactly as was used to initialize this entry but without a trailing newline. (type: bytes)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.