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`.`fakepwd`.`_UserRecord``

class documentation

`class _UserRecord: (source)`

Constructor: `_UserRecord(name, password, uid, gid, ...)`

View In Hierarchy

`_UserRecord` holds the user data for a single user in `UserDatabase`. It corresponds to the `passwd` structure from the `pwd` module. See that module for attribute documentation.

Method | `__getitem__` | Undocumented
Method | `__init__` | Undocumented
Method | `__len__` | Undocumented
Instance Variable | `pw_dir` | Undocumented
Instance Variable | `pw_gecos` | Undocumented
Instance Variable | `pw_gid` | Undocumented
Instance Variable | `pw_name` | Undocumented
Instance Variable | `pw_passwd` | Undocumented
Instance Variable | `pw_shell` | Undocumented
Instance Variable | `pw_uid` | Undocumented

def __getitem__(self, index): (source)

Undocumented

def __init__(self, name: `str`, password: `str`, uid: `int`, gid: `int`, gecos: `str`, home: `str`, shell: `str`): (source)

Undocumented

def __len__(self) -> `int`: (source)

Undocumented

pw_dir = (source)

Undocumented

pw_gecos = (source)

Undocumented

pw_gid = (source)

Undocumented

pw_name = (source)

Undocumented

pw_passwd = (source)

Undocumented

pw_shell = (source)

Undocumented

pw_uid = (source)

Undocumented