Verified Commit 5d014322 authored by Adel Kara Slimane's avatar Adel Kara Slimane
Browse files

Simplify __init__.py

parent eee02c2f
......@@ -8,9 +8,5 @@
# http://kwant-project.org/authors.
"""tkwant operators"""
import importlib
from .energy import __all__
for classname in __all__:
exec("from .energy import {0}".format(classname))
\ No newline at end of file
from .energy import *
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment