from .hook_funcs import (
    __doc__,
    setitem,
    setattr,
    contains_add,
    contains_remove,
    to_iter,
    from_iter,
)

supported_modules = ['pyrsistent', 'frozendict']

for _hook in supported_modules:
    try:
        __import__(_hook)
    except ImportError:
        pass
    else:
        _subname = '{}.{}'.format(__name__, _hook)
        __import__(_subname)
