| Home | Trees | Index | Help |
|
|---|
| Module vopu :: Class OrderedByCreation |
|
object --+
|
OrderedByCreation
Base class for objects which are ordered by their creation time.
>>> a = OrderedByCreation() >>> b = OrderedByCreation() >>> c = OrderedByCreation() >>> a < b True >>> b < c True >>> all = [b, c, a] >>> all.sort() >>> all == [a, b, c] True
| Method Summary | |
|---|---|
Create a new OrderedByCreation object. | |
Compare two OrderedByCreation objects by their creation time. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__init__(self,
*args,
**kwargs)
|
__cmp__(self,
other)
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Aug 31 15:41:30 2008 | http://epydoc.sf.net |