mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-13 00:30:14 +08:00
LazyContext.infer() should return a set.
This commit is contained in:
1 parent
375fcd9e66
commit
96bb9e3c1a
2 files changed
+5
-2
No files matched your search
@@ -98,7 +98,7 @@ class AbstractLazyContext(object):
|
||||
class LazyKnownContext(AbstractLazyContext):
|
||||
"""data is a context."""
|
||||
def infer(self):
|
||||
yield self.data
|
||||
return set([self.data])
|
||||
|
||||
|
||||
class LazyKnownContexts(AbstractLazyContext):
|
||||
|
||||
Reference in new issue
Block a user