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`.`protocols`.`dict``

module documentation
(source)

Dict client protocol implementation.

Author
Pavel Pergamenshchik

Class | `Definition` | A word definition
Class | `DictClient` | dict (RFC2229) client
Class | `DictLookup` | Utility class for a single dict transaction. To be used with DictLookupFactory
Class | `DictLookupFactory` | Utility factory for a single dict transaction
Exception | `InvalidResponse` | Undocumented
Function | `define` | Look up a word using a dict server
Function | `makeAtom` | Munch a string into an 'atom'
Function | `makeWord` | Undocumented
Function | `match` | Match a word using a dict server
Function | `parseParam` | Chew one dqstring or atom from beginning of line and return (param, remaningline)
Function | `parseText` | Undocumented

def define(host, port, database, word): (source)

Look up a word using a dict server

def makeAtom(line): (source)

Munch a string into an 'atom'

def makeWord(s): (source)

Undocumented

def match(host, port, database, strategy, word): (source)

Match a word using a dict server

def parseParam(line): (source)

Chew one dqstring or atom from beginning of line and return (param, remaningline)

def parseText(line): (source)

Undocumented