Page MenuHomec4science

__init__.py
No OneTemporary

File Metadata

Created
Wed, Dec 11, 15:47

__init__.py

# for the module
import sys as __hbm_sys
def export(definition):
"""
Decorator to export definitions from sub-modules to the top-level package
:param definition: definition to be exported
:return: definition
"""
__module = __hbm_sys.modules[definition.__module__]
__pkg = __hbm_sys.modules[__module.__package__]
__pkg.__dict__[definition.__name__] = definition
if '__all__' not in __pkg.__dict__:
__pkg.__dict__['__all__'] = []
__pkg.__all__.append(definition.__name__)
return definition
from . import ctestresults
from . import hbm

Event Timeline