Package buildbot :: Package process :: Module metrics :: Class FiniteList
[frames] | no frames]

Class FiniteList

source code

       object --+    
                |    
collections.deque --+
                    |
                   FiniteList
Known Subclasses:

Instance Methods
 
__init__(self, maxlen=10)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
append(self, o)
Add an element to the right side of the deque.
source code

Inherited from collections.deque: __copy__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iadd__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __reduce__, __repr__, __reversed__, __setitem__, appendleft, clear, count, extend, extendleft, pop, popleft, remove, reverse, rotate

Inherited from object: __delattr__, __format__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from collections.deque: __hash__

Properties

Inherited from collections.deque: maxlen

Inherited from object: __class__

Method Details

__init__(self, maxlen=10)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

append(self, o)

source code 

Add an element to the right side of the deque.

Overrides: collections.deque.append
(inherited documentation)