Implementation of BoundMethod.
This commit is contained in:
1 parent
afac66d82c
commit
cd4a7a9fc3
4 files changed
+55
-23
No files matched your search
@@ -52,7 +52,7 @@ class AbstractLazyContext(object):
|
||||
class LazyKnownContext(AbstractLazyContext):
|
||||
"""data is a context."""
|
||||
def infer(self):
|
||||
return set([self._data])
|
||||
yield self._data
|
||||
|
||||
|
||||
class LazyKnownContexts(AbstractLazyContext):
|
||||
|
||||
Reference in new issue
Block a user