def _unregister_plugin_callbacks(self, plugin):

        # Reference to plugin
        plugin = self.plugins[plugin]

        # Loop though each event name
        for event_name in plugin['callback_ids'].keys():
            # Loop tough callbacks
            for callback_id in plugin['callback_ids'][event_name]:
                self.cardinal.event_manager.remove_callback(
                    event_name, callback_id)

                # Remove callback ID from registered_events
                plugin['callback_ids'][event_name].remove(callback_id)
Gets an attribute from an instance.
dataset/ETHPy150Open JohnMaguire/Cardinal/cardinal/plugins.py/PluginManager._unregister_plugin_callbacks--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/connection.py/EC2Connection.get_instance_attribute