changeset 51302:27c8af87a0c9

pytype: use the right signature for the `__delitem__` It is not because it is NotImplemented that it should use a bad signature. Fix it to please pytype.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 19 Dec 2023 22:07:59 +0100
parents 4b4253b3ec0a
children e5b710ce643a
files hgext/remotenames.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/remotenames.py	Tue Dec 19 22:07:21 2023 +0100
+++ b/hgext/remotenames.py	Tue Dec 19 22:07:59 2023 +0100
@@ -137,7 +137,7 @@
     def __setitem__(self, k, v):
         raise NotImplementedError
 
-    def __delitem__(self):
+    def __delitem__(self, k):
         raise NotImplementedError
 
     def _fetchandcache(self, key):