1
0
forked from VimPlug/jedi

fix a ModuleWrapper with StarImports. Now all modules are wrapped.

This commit is contained in:
Dave Halter
2014-06-29 20:53:30 +02:00
parent 5b7c869323
commit 0d3ea4dfb4
6 changed files with 30 additions and 13 deletions

View File

@@ -100,3 +100,14 @@ string = '%s %s' % (1, 2)
# Shouldn't raise an error, because `string` is really just a string, not an
# array or something.
string.upper
# -----------------
# imports
# -----------------
# Star imports and the like in modules should not cause attribute errors in
# this module.
import import_tree
import_tree.a
import_tree.b