##// END OF EJS Templates
pvec: add an explicit type hint to help pytype...
Augie Fackler -
r43780:8e89b6e1 default
parent child Browse files
Show More
@@ -74,6 +74,7 b' def _bin(bs):'
74
74
75
75
76 def _str(v, l):
76 def _str(v, l):
77 # type: (int, int) -> bytes
77 bs = b""
78 bs = b""
78 for p in pycompat.xrange(l):
79 for p in pycompat.xrange(l):
79 bs = pycompat.bytechr(v & 255) + bs
80 bs = pycompat.bytechr(v & 255) + bs
General Comments 0
You need to be logged in to leave comments. Login now