Module osets :: Class Set
[hide private]
[frames] | no frames]

Class Set

source code

object --+
         |
        Set

Sets: that is lists without order or repetition.

May be used everywhere lists are used... because they rely on them.

Instance Methods [hide private]
 
__init__(self, list=[])
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getitem__(self, index) source code
 
__setitem__(self, index, value) source code
 
__getattr__(self, name) source code
 
__add__(self, other) source code
 
__iadd__(self, other) source code
 
__radd__(self, other) source code
 
__sub__(self, other) source code
 
__cmp__(self, other) source code
 
__len__(self) source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
__getslice__(self, low, high) source code
 
__delslice__(self, low, high) source code
 
__delitem__(self, key) source code
 
append(self, member) source code
 
s_append(self, member) source code
 
empty(self) source code
 
s_extend(self, other) source code
 
sort(self) source code
 
index(self, index) source code
 
remove(self, v) source code
 
copy(self) source code
 
first(self) source code
 
dup(self) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, list=[])
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)