Mercurial > code > home > repos > light9
view DataTypes/NextTime.py @ 283:e76b112c837e
fix empty-subexpr bug
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Fri, 17 Jun 2005 20:49:20 +0000 |
parents | 45b12307c695 |
children |
line wrap: on
line source
'''Baby, there won't be no next time''' class NextTime: def __init__(self, nextclock, interval=None) self.nextclock = nextclock self.interval = interval def cylic(self): return interval is not None