Use ContextSet closer to they way how Python's set works

This commit is contained in:
Dave Halter committed 2018-09-24 20:30:57 +02:00
1 parent 8fad33b125
commit 75a02a13d9
22 files changed
+114 -128

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ class AbstractLazyContext(object):
class LazyKnownContext(AbstractLazyContext):
"""data is a context."""
def infer(self):
return ContextSet(self.data)
return ContextSet([self.data])
class LazyKnownContexts(AbstractLazyContext):