Package testpackage :: Module util :: Class FirstClass
[hide private]
[frames] | no frames]

Class FirstClass

source code

object --+    
         |    
      list --+
             |
            FirstClass

Special list class.

This is a special class that extends list.

It has some special behavior that users will find really interesting. Or, it would if I had remembered to implement that.

Instance Methods [hide private]
 
__eq__(self, other)
Definition of == operator for this class.
source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __init__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, __sizeof__, append, count, extend, index, insert, pop, remove, reverse, sort

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

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__eq__(self, other)
(Equality operator)

source code 

Definition of == operator for this class.

Parameters:
  • other - Other object to compare to.
Returns:
True/false depending on whether other is None
Overrides: list.__eq__