type struct_spwd
object --+
|
struct_spwd
spwd.struct_spwd: Results from getsp*() routines.
This object may be accessed either as a 9-tuple of
(sp_nam,sp_pwd,sp_lstchg,sp_min,sp_max,sp_warn,sp_inact,sp_expire,sp_flag)
or via the object attributes as named in the above tuple.
|
|
|
__contains__(x,
y)
y in x |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
|
|
n_fields = 9
|
|
n_sequence_fields = 9
|
|
n_unnamed_fields = 0
|
|
sp_expire
#days since 1970-01-01 until account is disabled
|
|
sp_flag
reserved
|
|
sp_inact
#days after pw expires until account is blocked
|
|
sp_lstchg
date of last change
|
|
sp_max
max #days between changes
|
|
sp_min
min #days between changes
|
|
sp_nam
login name
|
|
sp_pwd
encrypted password
|
|
sp_warn
#days before pw expires to warn user about it
|
__getslice__(x,
i,
j)
(Slicling operator)
|
|
x[i:j]
Use of negative indices is not supported.
|
__hash__(x)
(Hashing function)
|
|
hash(x)
- Overrides:
object.__hash__
|
- Returns: a new object with type S, a subtype of T
- Overrides:
object.__new__
|
- Overrides:
object.__reduce__
- (inherited documentation)
|
__repr__(x)
(Representation operator)
|
|
repr(x)
- Overrides:
object.__repr__
|