Package gavo :: Package utils :: Module codetricks :: Class _CmpType
[frames] | no frames]

Type _CmpType

source code

object --+    
         |    
      type --+
             |
            _CmpType

is a metaclass for *classes* that always compare in one way.

Instance Methods
 
__cmp__(cls, other) source code

Inherited from type: __call__, __delattr__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __init__, __instancecheck__, __le__, __lt__, __ne__, __new__, __repr__, __setattr__, __subclasscheck__, __subclasses__, mro

Inherited from object: __format__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from type: __abstractmethods__, __base__, __bases__, __basicsize__, __dictoffset__, __flags__, __itemsize__, __mro__, __name__, __weakrefoffset__

Inherited from object: __class__