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

Class LDAPAttributeSet

source code

  object --+        
           |        
sets.BaseSet --+    
               |    
        sets.Set --+
                   |
                  LDAPAttributeSet
Known Subclasses:

Instance Methods [hide private]
 
__copy__(self)
Return a shallow copy of a set.
source code
 
__deepcopy__(self, memo)
Return a deep copy of a set; used by copy module.
source code
 
__eq__(self, other)
Note that LDAPAttributeSets can also be compared against any iterator.
source code
 
__init__(self, key, *a, **kw)
Construct a set from an optional iterable.
source code
 
__ne__(self, other) source code
 
__repr__(self)
Return string representation of a set.
source code
 
copy(self)
Return a shallow copy of a set.
source code
 
difference(self, other)
Return the difference of two sets as a new Set.
source code
 
intersection(self, other)
Return the intersection of two 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 two sets as a new set.
source code

Inherited from sets.Set: __as_immutable__, __as_temporarily_immutable__, __getstate__, __iand__, __ior__, __isub__, __ixor__, __setstate__, add, clear, difference_update, discard, intersection_update, pop, remove, symmetric_difference_update, union_update, update

Inherited from sets.BaseSet: __and__, __cmp__, __contains__, __ge__, __gt__, __iter__, __le__, __len__, __lt__, __or__, __str__, __sub__, __xor__, issubset, issuperset

Inherited from sets.BaseSet (private): _binary_sanity_check, _compute_hash, _repr, _update

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from sets.Set: __hash__

Properties [hide private]

Inherited from sets.BaseSet (private): _data

Inherited from object: __class__

Method Details [hide private]

__copy__(self)

source code 

Return a shallow copy of a set.

Overrides: sets.BaseSet.copy
(inherited documentation)

__deepcopy__(self, memo)

source code 

Return a deep copy of a set; used by copy module.

Overrides: sets.BaseSet.__deepcopy__
(inherited documentation)

__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: sets.BaseSet.__eq__

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

source code 

Construct a set from an optional iterable.

Overrides: object.__init__
(inherited documentation)

__ne__(self, other)

source code 
Overrides: sets.BaseSet.__ne__

__repr__(self)
(Representation operator)

source code 

Return string representation of a set.

This looks like 'Set([<list of elements>])'.

Overrides: object.__repr__
(inherited documentation)

copy(self)

source code 

Return a shallow copy of a set.

Overrides: sets.BaseSet.copy
(inherited documentation)

difference(self, other)

source code 

Return the difference of two sets as a new Set.

(I.e. all elements that are in this set and not in the other.)

Overrides: sets.BaseSet.difference
(inherited documentation)

intersection(self, other)

source code 

Return the intersection of two sets as a new set.

(I.e. all elements that are in both sets.)

Overrides: sets.BaseSet.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: sets.BaseSet.symmetric_difference
(inherited documentation)

union(self, other)

source code 

Return the union of two sets as a new set.

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

Overrides: sets.BaseSet.union
(inherited documentation)