Package ldaptor :: Package protocols :: Package ldap :: Module ldapsyntax :: Class LDAPAttributeSet
[show private | hide private]
[frames | no frames]

Class LDAPAttributeSet


Method Summary
  __init__(self, ldapObject, key, values)
  __contains__(self, value)
  __eq__(self, other)
  __iter__(self)
  __len__(self)
  __ne__(self, other)
  __repr__(self)
  add(self, value)
  clear(self)
  discard(self, value)
  iterkeys(self)
  pop(self)
  remove(self, value)
  update(self, sequence)

Method Details

__eq__(self, other)
(Equality operator)

>>> o1=LDAPAttributeSet(None, None, ['b', 'c', 'a'])
>>> o2=LDAPAttributeSet(None, None, ['c', 'b', 'a'])
>>> o1==o2
1

>>> o3=LDAPAttributeSet(None, None, ['b', 'c', 'X'])
>>> o1==o3
0

>>> o2==o3
0

>>> o1==['c', 'b', 'a']
1

Generated by Epydoc 2.0 on Fri Mar 12 17:21:13 2004 http://epydoc.sf.net