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`.`persisted`.`dirdbm``

module documentation
(source)

DBM-style interface to a directory.

Each key is stored as a single file. This is not expected to be very fast or efficient, but it's good for easy debugging.

DirDBMs are *not* thread-safe, they should only be accessed by one thread at a time.

No files should be placed in the working directory of a DirDBM save those created by the DirDBM itself!

Maintainer: Itamar Shtull-Trauring

Class | `DirDBM` | A directory with a DBM interface.
Class | `Shelf` | A directory with a DBM shelf interface.
Function | `open` | This is for 'anydbm' compatibility.

def open(file, flag=None, mode=None): (source)

This is for 'anydbm' compatibility.

Parameters
file | The parameter to pass to the DirDBM constructor.
flag | ignored
mode | ignored