mercurial/pvec.py
changeset 51287 f15cb5111a1e
parent 50928 d718eddf01d9
--- a/mercurial/pvec.py	Wed Dec 20 20:13:22 2023 +0100
+++ b/mercurial/pvec.py	Tue Dec 19 21:29:34 2023 +0100
@@ -72,8 +72,7 @@
     return v
 
 
-def _str(v, l):
-    # type: (int, int) -> bytes
+def _str(v: int, l: int) -> bytes:
     bs = b""
     for p in range(l):
         bs = pycompat.bytechr(v & 255) + bs