changeset 51801:62b25293b620

typing: correct a type hint in `mercurial.manifest` Obvious typo that was flagged by PyCharm.
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 14 Aug 2024 03:25:16 -0400
parents 62806be5cbda
children eb952b2d224c
files mercurial/manifest.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]: