# HG changeset patch # User Pierre-Yves David # Date 2023-12-19 21:07:59 # Node ID 27c8af87a0c95207793e62358ce5add1dbd80333 # Parent 4b4253b3ec0a772e0980b7bcac210680967f72ae 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. diff --git a/hgext/remotenames.py b/hgext/remotenames.py --- a/hgext/remotenames.py +++ b/hgext/remotenames.py @@ -137,7 +137,7 @@ class lazyremotenamedict(collections.abc def __setitem__(self, k, v): raise NotImplementedError - def __delitem__(self): + def __delitem__(self, k): raise NotImplementedError def _fetchandcache(self, key):