typing: correct a type hint in `mercurial.manifest`
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 14 Aug 2024 03:25:16 -0400
changeset 51801 62b25293b620
parent 51800 62806be5cbda
child 51802 eb952b2d224c
typing: correct a type hint in `mercurial.manifest` Obvious typo that was flagged by PyCharm.
mercurial/manifest.py
--- a/mercurial/manifest.py	Sat Aug 10 14:22:26 2024 -0400
+++ b/mercurial/manifest.py	Wed Aug 14 03:25:16 2024 -0400
@@ -534,7 +534,7 @@
             return False
         return key in self._lm
 
-    def __delitem__(self, key: bytes) -> bool:
+    def __delitem__(self, key: bytes) -> None:
         del self._lm[key]
 
     def __iter__(self) -> Iterator[bytes]: