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`.`failure`.`_Frame``

class documentation

`class _Frame: (source)`

View In Hierarchy

A fake frame object, used by `_Traceback`.

Method | `__init__` | No summary
Instance Variable | `f_back` | previous stack frame (towards the caller)
Instance Variable | `f_builtins` | Undocumented
Instance Variable | `f_code` | fake `code` object
Instance Variable | `f_globals` | fake f_globals dictionary (usually empty)
Instance Variable | `f_lasti` | Undocumented
Instance Variable | `f_lineno` | line number
Instance Variable | `f_locals` | fake f_locals dictionary (usually empty)
Instance Variable | `f_trace` | Undocumented

def __init__(self, frameinfo, back): (source)

Parameters
frameinfo | (methodname, filename, lineno, locals, globals)
back:`frame` | previous (older) stack frame

f_back = (source)

previous stack frame (towards the caller)

f_builtins = (source)

Undocumented

f_code = (source)

fake `code` object

f_globals = (source)

fake f_globals dictionary (usually empty)

f_lasti: `int` = (source)

Undocumented

f_lineno = (source)

line number

f_locals = (source)

fake f_locals dictionary (usually empty)

f_trace = (source)

Undocumented