def register_namespace_handler(importer_type, namespace_handler):
 _namespace_handlers[importer_type] = namespace_handler

def register_namespace_handler ( importer_type , namespace_handler ) : _namespace_handlers [ importer_type ] = namespace_handler
register namespace_handler to declare namespace packages importer_type is the type or class of a pep 302 "importer" .