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`.`words`.`xish`.`domish`.`_ListSerializer``

class documentation

`class _ListSerializer: (source)`

Constructor: `_ListSerializer(prefixes, prefixesInScope)`

View In Hierarchy

Internal class which serializes an Element tree into a buffer

Method | `__init__` | Undocumented
Method | `getPrefix` | Undocumented
Method | `getValue` | Undocumented
Method | `prefixInScope` | Undocumented
Method | `serialize` | Undocumented
Instance Variable | `prefixCounter` | Undocumented
Instance Variable | `prefixes` | Undocumented
Instance Variable | `prefixStack` | Undocumented
Instance Variable | `writelist` | Undocumented

def __init__(self, prefixes=None, prefixesInScope=None): (source)

Undocumented

def getPrefix(self, uri): (source)

Undocumented

def getValue(self): (source)

Undocumented

def prefixInScope(self, prefix): (source)

Undocumented

def serialize(self, elem, closeElement=1, defaultUri=''): (source)

Undocumented

prefixCounter = (source)

Undocumented

prefixes: `dict` = (source)

Undocumented

prefixStack = (source)

Undocumented

writelist: `list` = (source)

Undocumented