Closed by commit rHG8e89b6e1e0cd: pvec: add an explicit type hint to help pytype (authored by durin42). This revision was automatically updated to reflect the committed changes.
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7279?vs=17649&id=17695 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7279/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7279 AFFECTED FILES mercurial/pvec.py CHANGE DETAILS diff --git a/mercurial/pvec.py b/mercurial/pvec.py --- a/mercurial/pvec.py +++ b/mercurial/pvec.py @@ -74,6 +74,7 @@ def _str(v, l): + # type: (int, int) -> bytes bs = b"" for p in pycompat.xrange(l): bs = pycompat.bytechr(v & 255) + bs To: durin42, #hg-reviewers, indygreg Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel