Mercurial > public > mercurial-scm > hg
diff mercurial/manifest.py @ 51797: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 | 9af1acc1ffab |
children | 5eb98ea78fd7 |
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]: