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`.`python`.`formmethod``

module documentation
(source)

Form-based method objects.

This module contains support for descriptive method signatures that can be used to format methods.

Class | `Argument` | Base class for form arguments.
Class | `Boolean` | Undocumented
Class | `CheckGroup` | Undocumented
Class | `Choice` | The result of a choice between enumerated types. The choices should be a list of tuples of tag, value, and description. The tag will be the value returned if the user hits "Submit", and the description is the bale for the enumerated type...
Class | `Date` | A date -- (year, month, day) tuple.
Class | `File` | Undocumented
Class | `Flags` | The result of a checkbox group or multi-menu. The flags should be a list of tuples of tag, value, and description. The tag will be the value returned if the user hits "Submit", and the description is the bale for the enumerated type...
Class | `Float` | Undocumented
Class | `FormMethod` | A callable object with a signature.
Class | `Hidden` | A string which is not displayed.
Class | `Integer` | A single integer.
Class | `IntegerRange` | Undocumented
Class | `MethodSignature` | A signature of a callable.
Class | `Password` | A string which should be obscured when input.
Class | `PresentationHint` | A hint to a particular system.
Class | `RadioGroup` | Undocumented
Class | `String` | A single string.
Class | `Submit` | Submit button or a reasonable facsimile thereof.
Class | `Text` | A long string.
Class | `VerifiedPassword` | A string that should be obscured when input and needs verification.
Exception | `FormException` | An error occurred calling the form method.
Exception | `InputError` | An error occurred with some input.
Function | `positiveInt` | Undocumented

def positiveInt(x): (source)

Undocumented