This is an archive of the discontinued Mercurial Phabricator instance.

py3: use "%d" for integers instead of "%s"
ClosedPublic

Authored by pulkit on Feb 24 2018, 4:40 AM.

Details

Summary

util.parsedate() returns a tuple of integers. Writing this patch, I wish we had
some type hinting.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Feb 24 2018, 4:40 AM
yuja accepted this revision.Feb 24 2018, 5:27 AM
This revision is now accepted and ready to land.Feb 24 2018, 5:27 AM
This revision was automatically updated to reflect the committed changes.