Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`python`.`util`.`FancyEqMixin``

class documentation

`class FancyEqMixin: (source)`

Known subclasses: `twisted.conch.client.knownhosts.HashedEntry`, `twisted.conch.ssh.address.SSHTransportAddress`, `twisted.names.dns.Message`, `twisted.names.dns.Record_A`, `twisted.names.dns.Record_A6`, `twisted.names.dns.Record_AAAA`, `twisted.names.dns.Record_AFSDB`, `twisted.names.dns.Record_HINFO`, `twisted.names.dns.Record_MINFO`, `twisted.names.dns.Record_MX`, `twisted.names.dns.Record_NAPTR`, `twisted.names.dns.Record_NULL`, `twisted.names.dns.Record_RP`, `twisted.names.dns.Record_SOA`, `twisted.names.dns.Record_SRV`, `twisted.names.dns.Record_SSHFP`, `twisted.names.dns.Record_TSIG`, `twisted.names.dns.Record_TXT`, `twisted.names.dns.Record_WKS`, `twisted.names.dns.RRHeader`, `twisted.names.dns.SimpleRecord`, `twisted.names.dns.UnknownRecord`, `twisted.pair.tuntap.TunnelAddress`, `twisted.positioning.base.Altitude`, `twisted.positioning.base.Angle`, `twisted.positioning.base.PositionError`, `twisted.python._textattributes.DefaultFormattingState`, `twisted.python.filepath.Permissions`, `twisted.python.filepath.RWX`, `twisted.names.dns._EDNSMessage`, `twisted.names.dns._OPTHeader`, `twisted.names.dns._OPTVariableOption`, `twisted.positioning.base._BaseSpeed`, `twisted.python._textattributes._Attribute`

View In Hierarchy

Mixin that implements `__eq__` and `__ne__`.

Comparison is done using the list of attributes defined in `compareAttributes`.

Method | `__eq__` | Undocumented
Method | `__ne__` | Undocumented
Class Variable | `compareAttributes` | Undocumented

def __eq__(self, other: `object`) -> `bool`: (source)
overridden in `twisted.names.dns.Record_A6`, `twisted.names.dns.Record_HINFO`

Undocumented

def __ne__(self, other: `object`) -> `bool`: (source)

Undocumented

compareAttributes: `ClassVar[Sequence[str]]` = (source)
overridden in `twisted.conch.client.knownhosts.HashedEntry`, `twisted.conch.ssh.address.SSHTransportAddress`, `twisted.names.dns.Message`, `twisted.names.dns.Record_A`, `twisted.names.dns.Record_A6`, `twisted.names.dns.Record_AAAA`, `twisted.names.dns.Record_AFSDB`, `twisted.names.dns.Record_HINFO`, `twisted.names.dns.Record_MINFO`, `twisted.names.dns.Record_MX`, `twisted.names.dns.Record_NAPTR`, `twisted.names.dns.Record_NULL`, `twisted.names.dns.Record_RP`, `twisted.names.dns.Record_SOA`, `twisted.names.dns.Record_SRV`, `twisted.names.dns.Record_SSHFP`, `twisted.names.dns.Record_TSIG`, `twisted.names.dns.Record_TXT`, `twisted.names.dns.Record_WKS`, `twisted.names.dns.RRHeader`, `twisted.names.dns.SimpleRecord`, `twisted.names.dns.UnknownRecord`, `twisted.pair.tuntap.TunnelAddress`, `twisted.positioning.base.Altitude`, `twisted.positioning.base.Angle`, `twisted.positioning.base.PositionError`, `twisted.python._textattributes.DefaultFormattingState`, `twisted.python.filepath.Permissions`, `twisted.python.filepath.RWX`, `twisted.names.dns._EDNSMessage`, `twisted.names.dns._OPTHeader`, `twisted.names.dns._OPTVariableOption`, `twisted.positioning.base._BaseSpeed`, `twisted.python._textattributes._Attribute`

Undocumented