1
0
forked from VimPlug/jedi

Some code cleanups

This commit is contained in:
Dave Halter
2020-04-11 02:11:52 +02:00
parent 9d55194b92
commit bdd4deedc1
11 changed files with 26 additions and 22 deletions

View File

@@ -99,7 +99,9 @@ class ModuleMixin(SubModuleDictMixin):
def iter_star_filters(self):
for star_module in self.star_imports():
yield next(star_module.get_filters())
f = next(star_module.get_filters(), None)
assert f is not None
yield f
# I'm not sure if the star import cache is really that effective anymore
# with all the other really fast import caches. Recheck. Also we would need