class documentation

class CryptedPasswordRecord(Protocol): (source)

View In Hierarchy

A sequence where the item at index 1 may be a crypted password.

Both pwd.struct_passwd and spwd.struct_spwd conform to this protocol.

Method __getitem__ Get the crypted password.
def __getitem__(self, index): (source)

Get the crypted password.

Parameters
index:Literal[1]Undocumented
Returns
strUndocumented