Package lastfm :: Module safelist :: Class SafeList

[hide private]
[frames] | no frames]

# Class SafeList

source code

    object --+
             |
            SafeList

Instance Methods | [hide private]

__init__(self, lst, add_func, remove_func) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

add(self, lst) | source code

remove(self, lst) | source code

__iter__(self) | source code

_tuple_from_slice(self, i) Get (start, end, step) tuple from slice object. | source code

__getitem__(self, i) | source code

index(self, x, i=0, j=None) | source code

sort(self, cmpfunc=None, key=None, reverse=False) | source code

__len__(self) | source code

__repr__(self) repr(x) | source code

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

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, lst, add_func, remove_func)
(Constructor)

source code

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

Overrides: object.__init__
  (inherited documentation)

### __repr__(self)
(Representation operator)

source code

repr(x)

Overrides: object.__repr__
  (inherited documentation)