code: def extract_plugin_arguments(self, plugin):
          '''
          Given a plugin name, extracts its registered_arguments as an
          iterable of (args, kwargs) tuples.
  
          :param plugin: plugin name
          :type plugin: str
          :returns: iterable if (args, kwargs) tuples.
          :rtype: iterable
          '''
          module = self.import_plugin(plugin)
          if hasattr(module, 'register_arguments'):
              manager = ArgumentPluginManager()
              module.register_arguments(manager)
              return manager._argparse_argkwargs
          return (f extract_plugin_arguments(self, plugin):
          '''
          Given a plugin name, extracts its registered_arguments as an
          iterable of (args, kwargs) tuples.
  
          :param plugin: plugin name
          :type plugin: str
          :returns: iterable if (args, kwargs) tuples.
          :rtype: iterable
          '''
          module = self.import_plugin(plugin)
          if hasattr(module, 'register_arguments'):
              manager = ArgumentPluginManager()
              module.register_arguments(manager)
              return manager._argparse_argkwargs
          return ()
docs: Given a plugin name, extracts its registered_arguments as an
          iterable of (args, kwargs) tuples.
  
          :param plugin: plugin name
          :type plugin: str
          :returns: iterable if (args, kwargs) tuples.
          :rtype: iterable