Skip to content
Snippets Groups Projects

first iteration of __isub__ method in RankingStat

Merged Leo Tsukada requested to merge offline_new-workflow-rankingstat-isub into offline_new-workflow
All threads resolved!
Files
2
@@ -254,14 +254,6 @@ class NearestLeafTree(object):
self[x] = val
return self
def __isub__(self, other):
"""
For every (key, value) pair in other, remove the entry from self.
"""
for x, val in other.tree:
self[x] = val
return self
def __isub__(self, other):
for key, val in other.items():
if key in self:
Loading