In <[email protected]> Steven D'Aprano 
<[email protected]> writes:

> >     if time_difference < 3601:

> That's a potential off-by-one error. [...] The right test is:

>     if time_difference <= 3600:

Aren't those two comparisons the same?

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to