1
0
forked from VimPlug/jedi

Implementation of BoundMethod.

This commit is contained in:
Dave Halter
2016-11-06 22:33:22 +01:00
parent afac66d82c
commit cd4a7a9fc3
4 changed files with 55 additions and 23 deletions

View File

@@ -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):