Package starcluster :: Module utils :: Class struct_passwd
[hide private]
[frames] | no frames]

Class struct_passwd

source code



pwd.struct_passwd: Results from getpw*() routines.

This object may be accessed either as a tuple of
  (pw_name,pw_passwd,pw_uid,pw_gid,pw_gecos,pw_dir,pw_shell)
or via the object attributes as named in the above tuple.

Instance Methods [hide private]
 
__getattr__(self, attr) source code

Inherited from tuple: __add__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __repr__, __rmul__, __sizeof__, count, index

Inherited from object: __delattr__, __format__, __init__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, pwd) source code
Class Variables [hide private]
  attrs = ['pw_name', 'pw_passwd', 'pw_uid', 'pw_gid', 'pw_gecos...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(cls, pwd)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)

Class Variable Details [hide private]

attrs

Value:
['pw_name',
 'pw_passwd',
 'pw_uid',
 'pw_gid',
 'pw_gecos',
 'pw_dir',
 'pw_shell']