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`.`ExpatElementStream``

class documentation

`class ExpatElementStream: (source)`

View In Hierarchy

Undocumented

Method | `__init__` | Undocumented
Method | `parse` | Undocumented
Instance Variable | `currElem` | Undocumented
Instance Variable | `defaultNsStack` | Undocumented
Instance Variable | `DocumentEndEvent` | Undocumented
Instance Variable | `documentStarted` | Undocumented
Instance Variable | `DocumentStartEvent` | Undocumented
Instance Variable | `ElementEvent` | Undocumented
Instance Variable | `error` | Undocumented
Instance Variable | `localPrefixes` | Undocumented
Instance Variable | `parser` | Undocumented
Method | `_onCdata` | Undocumented
Method | `_onEndElement` | Undocumented
Method | `_onEndNamespace` | Undocumented
Method | `_onStartElement` | Undocumented
Method | `_onStartNamespace` | Undocumented

def __init__(self): (source)

Undocumented

def parse(self, buffer): (source)

Undocumented

currElem = (source)

Undocumented

defaultNsStack: `list[str]` = (source)

Undocumented

DocumentEndEvent = (source)

Undocumented

documentStarted: `int` = (source)

Undocumented

DocumentStartEvent = (source)

Undocumented

ElementEvent = (source)

Undocumented

error = (source)

Undocumented

localPrefixes: `dict` = (source)

Undocumented

parser = (source)

Undocumented

def _onCdata(self, data): (source)

Undocumented

def _onEndElement(self, _): (source)

Undocumented

def _onEndNamespace(self, prefix): (source)

Undocumented

def _onStartElement(self, name, attrs): (source)

Undocumented

def _onStartNamespace(self, prefix, uri): (source)

Undocumented