mercurial/store.py
changeset 52692 45dc0f874b8c
parent 52645 4cb75772818d
--- a/mercurial/store.py	Mon Jan 06 20:02:17 2025 -0500
+++ b/mercurial/store.py	Sun Jan 12 21:35:30 2025 -0500
@@ -16,6 +16,7 @@
 
 from typing import (
     Generator,
+    Iterator,
     List,
     Optional,
 )
@@ -116,7 +117,7 @@
     )
 
 
-def _reserved():
+def _reserved() -> Iterator[int]:
     """characters that are problematic for filesystems
 
     * ascii escapes (0..31)