Package logilab :: Package common :: Module compat :: Class set
[frames] | no frames]

Class set

source code

object --+    
         |    
     ??-34 --+
             |
            set

mutable set

Instance Methods
 
add(self, value) source code
 
remove(self, element)
removes <element> from set
source code
 
pop(self)
pops an arbitrary element from set
source code
 
__hash__(self)
mutable set cannot be hashed.
source code

Inherited from unreachable: __add__, __and__, __cmp__, __init__, __iter__, __len__, __or__, __repr__, __str__, __sub__

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties

Inherited from object: __class__

Method Details

__hash__(self)
(Hashing function)

source code 
mutable set cannot be hashed.

Overrides: object.__hash__