1
0
forked from VimPlug/jedi

Fix: iterators are working smoothly now. Finally tests are passing again.

This commit is contained in:
Dave Halter
2015-12-10 04:37:23 +01:00
parent e23f453a11
commit 9bd6e6c340
7 changed files with 45 additions and 33 deletions

View File

@@ -631,6 +631,7 @@ class Interpreter(Script):
if isinstance(user_stmt, tree.Import) or not is_simple_path:
return super(Interpreter, self)._simple_complete(path, dot, like)
else:
# TODO Remove this branch? The above branch should be fast enough IMO.
class NamespaceModule(object):
def __getattr__(_, name):
for n in self.namespaces: