YADTR (Yet Another DateTime Rant)

Chris Angelico rosuav at gmail.com
Thu Mar 27 08:20:30 EDT 2014


On Thu, Mar 27, 2014 at 10:56 PM, Skip Montanaro <skip at pobox.com> wrote:
> There are,
> as I see it, two common cases where t is negative:
>
>   -1 day < t < 0
>
> and
>
>   t <= -1 day

There are two types of negative numbers: Those closer to zero than -1,
and those not closer to zero than -1. Yeah, I think those are the most
common cases. :)

ChrisA



More information about the Python-list mailing list