def _fail_if_not_a_package(self, package):
        if not hasattr(package, '__path__'):
            e_msg = 'Expected a package, not a module.'
            detail = 'Loading plugins from modules are not supported.'

            module_name = package.__name__
            suggested_package_name = module_name.rsplit('.', 1)[0]

            hint = (module_name, suggested_package_name) % 'Attempted to load plugins from %r, maybe you meant %r?'

            raise exceptions.ConfigurationError(e_msg, detail, hint)
dataset/ETHPy150Open foundit/Piped/piped/plugin.py/PluginManager._fail_if_not_a_package/swapped operands of `%`