Debian Codegraph @

lunr/utils.py

raw
1 def as_string(obj):
2 return "" if not obj else str(obj)
3
4
5 class CompleteSet(set):
6 def union(self, other):
7 return self
8
9 def intersection(self, other):
10 return set(other)
11
12 def __contains__(self, y):
13 return True