Package ldaptor :: Module attributeset :: Class LDAPAttributeSet
[hide private]
[frames] | no frames]

Class LDAPAttributeSet

source code

object --+    
         |    
       set --+
             |
            LDAPAttributeSet
Known Subclasses:

Instance Methods [hide private]
 
__copy__(self)
Return a shallow copy of a set.
source code
 
__deepcopy__(self, memo) source code
 
__eq__(self, other)
Note that LDAPAttributeSets can also be compared against any iterator.
source code
new empty set object
__init__(self, key, *a, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__ne__(self, other)
x!=y
source code
 
__repr__(self)
repr(x)
source code
 
copy(self)
Return a shallow copy of a set.
source code
 
difference(self, other)
Return the difference of two or more sets as a new set.
source code
 
intersection(self, other)
Return the intersection of two or more sets as a new set.
source code
 
symmetric_difference(self, other)
Return the symmetric difference of two sets as a new set.
source code
 
union(self, other)
Return the union of sets as a new set.
source code

Inherited from set: __and__, __cmp__, __contains__, __ge__, __getattribute__, __gt__, __iand__, __ior__, __isub__, __iter__, __ixor__, __le__, __len__, __lt__, __new__, __or__, __rand__, __reduce__, __ror__, __rsub__, __rxor__, __sizeof__, __sub__, __xor__, add, clear, difference_update, discard, intersection_update, isdisjoint, issubset, issuperset, pop, remove, symmetric_difference_update, update

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

Class Variables [hide private]

Inherited from set: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__eq__(self, other)
(Equality operator)

source code 

Note that LDAPAttributeSets can also be compared against any iterator. In that case the attributeType will be ignored.

Overrides: set.__eq__

__init__(self, key, *a, **kw)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Returns: new empty set object
Overrides: object.__init__
(inherited documentation)

__ne__(self, other)

source code 

x!=y

Overrides: set.__ne__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

copy(self)

source code 

Return a shallow copy of a set.

Overrides: set.copy
(inherited documentation)

difference(self, other)

source code 

Return the difference of two or more sets as a new set.

(i.e. all elements that are in this set but not the others.)

Overrides: set.difference
(inherited documentation)

intersection(self, other)

source code 

Return the intersection of two or more sets as a new set.

(i.e. elements that are common to all of the sets.)

Overrides: set.intersection
(inherited documentation)

symmetric_difference(self, other)

source code 

Return the symmetric difference of two sets as a new set.

(i.e. all elements that are in exactly one of the sets.)

Overrides: set.symmetric_difference
(inherited documentation)

union(self, other)

source code 

Return the union of sets as a new set.

(i.e. all elements that are in either set.)

Overrides: set.union
(inherited documentation)