(module, extras)
Install common submodules
Install common submodules
Install common submodules
def _setup(module, extras):
    """Install common submodules"""

    Qt.__binding__ = module.__name__

    for name in list(_common_members) + extras:
        try:
            submodule = _import_sub_module(
                module, name)
        except ImportError:
            try:
                # For extra modules like sip and shiboken that may not be
                # children of the binding.
                submodule = __import__(name)
            except ImportError:
                continue

        setattr(Qt, "_" + name, submodule)

        if name not in extras:
            # Store reference to original binding,
            # but don't store speciality modules
            # such as uic or QtUiTools
            setattr(Qt, name, _new_module(name))
def _setup ( module , extras ) : Qt . __binding__ = module . __name__ for name in list ( _common_members ) + extras : try : submodule = _import_sub_module ( module , name ) except ImportError : try : # For extra modules like sip and shiboken that may not be # children of the binding. submodule = __import__ ( name ) except ImportError : continue setattr ( Qt , "_" + name , submodule ) if name not in extras : # Store reference to original binding, # but don't store speciality modules # such as uic or QtUiTools setattr ( Qt , name , _new_module ( name ) )