

def _post_setattr_minimum(self, old, new):
    ' Post setattr the minimum datetime.\n\n        If the new minimum is greater than the current value or the\n        maximum, those values are adjusted up.\n\n        '
    if (new > self.maximum):
        self.maximum = new
    if (new > self.datetime):
        self.datetime = old

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/widgets/bounded_datetime.py BoundedDatetime._post_setattr_minimum/VarMisuse@49/117 `new`->`old`