def is_digit(self):
    if self.filled:
        return (self.current in u'0123456789')
    return False
def is_digit(self):
    if self.filled:
        return (self.current in u'0123456789')
    return False