D7279: pvec: add an explicit type hint to help pytype
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Nov 7 03:33:43 EST 2019
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
More information about the Mercurial-devel
mailing list