update 43
This commit is contained in:
parent
23f87a1385
commit
9421b64fd0
1 changed files with 2 additions and 3 deletions
|
@ -19,6 +19,5 @@ from .plotwav import *
|
||||||
# this is similar to default behaviour of having no __all__ variable at all,
|
# this is similar to default behaviour of having no __all__ variable at all,
|
||||||
# but ours ignores modules as well. this allows for `import sys` and such
|
# but ours ignores modules as well. this allows for `import sys` and such
|
||||||
# without clobbering `from our_module import *`.
|
# without clobbering `from our_module import *`.
|
||||||
__all__ = [
|
__all__ = [k for k, v in locals().items()
|
||||||
o for o in locals()
|
if not __import__('inspect').ismodule(v) and not k.startswith('_')]
|
||||||
if type(o) != 'module' and not o.startswith('_')]
|
|
||||||
|
|
Loading…
Reference in a new issue