On Fri, Sep 25, 2015 at 5:32 PM, Tim Peters <[email protected]> wrote: > > > > https://github.com/abalkin/cpython/commit/54d3596b0180512c68c91e8308665c0a9e61c9eb > > Wondering whether this line: > > if probe2 != result + trans: > > could be replaced with: > > if probe2 == result: >
Yes, it can. Thanks for the suggestion. > > I'm not sure what the first line is saying ;-) It says that probe2 and result are on the opposite sides of the transition, but your tests is simpler and easier to understand.
_______________________________________________ Datetime-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/datetime-sig The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
