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`.`conch`.`ssh`.`common``

module documentation
(source)

Common functions for the SSH classes.

Maintainer: Paul Swartz

Function | `ffs` | first from second goes through the first list, looking for items in the second, returns the first one
Function | `getMP` | Get multiple precision integer out of the string. A multiple precision integer is stored as a 4-byte length followed by length bytes of the integer. If count is specified, get count integers out of the string...
Function | `getNS` | get net string
Function | `install` | Undocumented
Function | `MP` | Undocumented
Function | `NS` | net string

def ffs(c, s): (source)

first from second goes through the first list, looking for items in the second, returns the first one

def getMP(data, count=1): (source)

Get multiple precision integer out of the string. A multiple precision integer is stored as a 4-byte length followed by length bytes of the integer. If count is specified, get count integers out of the string. The return value is a tuple of count integers followed by the rest of the data.

def getNS(s, count=1): (source)

get net string

def install(): (source)

Deprecated since version 16.5.0: `install` was deprecated in Twisted 16.5.0.

Undocumented

def MP(number): (source)

Undocumented

def NS(t): (source)

net string