Package flumotion :: Package common :: Module watched :: Class WatchedList
[hide private]

Class WatchedList

source code

object --+    
         |    
      list --+
             |
            WatchedList

Instance Methods [hide private]
new list
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
append(self, *args, **kwargs)
append object to end
source code
 
insert(self, *args, **kwargs)
insert object before index
source code
 
notify_changed(self) source code
item
pop(self, *args, **kwargs)
remove and return item at index (default last)
source code
 
remove(self, *args, **kwargs)
remove first occurrence of value
source code
 
reverse(self, *args, **kwargs)
reverse *IN PLACE*
source code
 
sort(self, *args, **kwargs)
stable sort *IN PLACE*; cmp(x, y) -> -1, 0, 1
source code
 
unwatch(self, id) source code
 
watch(self, proc) source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, count, extend, index

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

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

Returns: new list
Overrides: object.__init__
(inherited documentation)

append(self, *args, **kwargs)

source code 

append object to end

Overrides: list.append
(inherited documentation)

insert(self, *args, **kwargs)

source code 

insert object before index

Overrides: list.insert
(inherited documentation)

pop(self, *args, **kwargs)

source code 

remove and return item at index (default last)

Returns: item
Overrides: list.pop
(inherited documentation)

remove(self, *args, **kwargs)

source code 

remove first occurrence of value

Overrides: list.remove
(inherited documentation)

reverse(self, *args, **kwargs)

source code 

reverse *IN PLACE*

Overrides: list.reverse
(inherited documentation)

sort(self, *args, **kwargs)

source code 

stable sort *IN PLACE*; cmp(x, y) -> -1, 0, 1

Overrides: list.sort
(inherited documentation)