| Home | Trees | Index | Help |
|---|
| Module interval :: Class Smallest |
|
Represents the smallest value
This type doesn't do much; it implements a pseudo-value that's smaller than everything but itself.>>> negInf = Smallest() >>> smallest = Smallest() >>> -264 < negInf False >>> -264 == negInf False >>> -264 > negInf True >>> negInf < negInf False >>> negInf == smallest True
| Method Summary | |
|---|---|
Compares this with another object | |
Returns a value that can be used for generating hashes | |
Returns the largest value | |
Returns an evaluable representation of the object | |
Returns a printable representation of this value | |
| Method Details |
|---|
__cmp__(self,
other)
|
__hash__(self)
Returns a value that can be used for generating hashes
|
__neg__(self)Returns the largest value The opposite of negative infinity is infinity, the largest value.>>> print -Smallest() ~ |
__repr__(self)
|
__str__(self)
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Nov 9 22:22:37 2005 | http://epydoc.sf.net |