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

Class struct_group

source code



grp.struct_group: Results from getgr*() routines.

This object may be accessed either as a tuple of
  (gr_name,gr_passwd,gr_gid,gr_mem)
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, grp) source code
Class Variables [hide private]
  attrs = ['gr_name', 'gr_passwd', 'gr_gid', 'gr_mem']
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(cls, grp)
Static Method

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