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`.`internet`.`kqreactor``

module documentation
(source)

A kqueue()/kevent() based implementation of the Twisted main loop.

To use this reactor, start your application specifying the kqueue reactor:

       twistd --reactor kqueue ...

To install the event loop from code (and you should do this before any connections, listeners or connectors are added):

       from twisted.internet import kqreactor
       kqreactor.install()

Class | `KQueueReactor` | A reactor that uses kqueue(2)/kevent(2) and relies on Python 2.6 or higher which has built in support for kqueue in the select module.
Function | `install` | Install the kqueue() reactor.
Constant | `KQ_EV_ADD` | Undocumented
Constant | `KQ_EV_DELETE` | Undocumented
Constant | `KQ_EV_EOF` | Undocumented
Constant | `KQ_FILTER_READ` | Undocumented
Constant | `KQ_FILTER_WRITE` | Undocumented
Interface | `_IKQueue` | An interface for KQueue implementations.

def install(): (source)

Install the kqueue() reactor.

KQ_EV_ADD = (source)

Undocumented

Value

    getattr(select, 'KQ_EV_ADD')

KQ_EV_DELETE = (source)

Undocumented

Value

    getattr(select, 'KQ_EV_DELETE')

KQ_EV_EOF = (source)

Undocumented

Value

    getattr(select, 'KQ_EV_EOF')

KQ_FILTER_READ = (source)

Undocumented

Value

    getattr(select, 'KQ_FILTER_READ')

KQ_FILTER_WRITE = (source)

Undocumented

Value

    getattr(select, 'KQ_FILTER_WRITE')