Skip to content
Snippets Groups Projects
Commit 4b4253b3ec0a authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

pytype: use the right signature for the `__setitem__`

It is not because it is NotImplemented that it should use a bad signature. Fix
it to please pytype.
parent fa87eeeb10ca
No related branches found
No related tags found
1 merge request!744fixes various issue pointed by newer pytype
......@@ -134,7 +134,7 @@
def __len__(self):
return len(self.potentialentries)
def __setitem__(self):
def __setitem__(self, k, v):
raise NotImplementedError
def __delitem__(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment