Skip to content

Commit

Permalink
sd
Browse files Browse the repository at this point in the history
  • Loading branch information
vvasuki committed Jan 16, 2025
1 parent 3075259 commit 3affc1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sanskrit_data/collection_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ def filter_for_keys(dict, keys):

class OrderedSet(OrderedDict):

def __init__(self, iterable=None):
if iterable is not None:
self.extend(iterable=iterable)

def add(self, x):
self[x] = None

Expand Down

0 comments on commit 3affc1f

Please sign in to comment.