Skip to content

Commit

Permalink
Implements #9
Browse files Browse the repository at this point in the history
  • Loading branch information
lgautier committed Jan 22, 2017
1 parent 2a3f782 commit 5264e22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/minhashsketch.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ def __add__(self, obj):
return res


def __iadd__(self, obj):
self.update(obj)


def __iter__(self):
"""
Return an iterator over the elements in the sketch.
Expand Down

0 comments on commit 5264e22

Please sign in to comment.