(cls, plugin_class)
Deregisters a plugin class.

        The plugin classes are identified based on their lower case name.

        Args:
          plugin_class (type): the class object of the plugin.

        Raises:
          KeyError: if plugin class is not set for the corresponding name.
Deregisters a plugin class.
Deregisters a plugin class .
def deregister_plugin(cls, plugin_class):
        """Deregisters a plugin class.

        The plugin classes are identified based on their lower case name.

        Args:
          plugin_class (type): the class object of the plugin.

        Raises:
          KeyError: if plugin class is not set for the corresponding name.
        """
        plugin_name = plugin_class.NAME.lower()
        if plugin_name not in cls._plugin_classes:
            raise KeyError('Plugin class not set for name: {0:s}.'.format(
                plugin_class.NAME))

        del cls._plugin_classes[plugin_name]
def deregister_plugin ( cls , plugin_class ) : plugin_name = plugin_class . NAME . lower ( ) if plugin_name not in cls . _plugin_classes : raise KeyError ( 'Plugin class not set for name: {0:s}.' . format ( plugin_class . NAME ) ) del cls . _plugin_classes [ plugin_name ]