mercurial/error.py
changeset 51285 8b2ea2246a5f
parent 51284 f15cb5111a1e
child 51287 f4a0806081f2
--- a/mercurial/error.py	Tue Dec 19 21:29:34 2023 +0100
+++ b/mercurial/error.py	Wed Dec 20 11:23:09 2023 +0100
@@ -57,7 +57,7 @@
     """
 
     def __init__(self, *args, **kw):
-        self.hint = kw.pop('hint', None)  # type: Optional[bytes]
+        self.hint: Optional[bytes] = kw.pop('hint', None)
         super(Hint, self).__init__(*args, **kw)