parameters: (cls, options)
return_statement: return d
docstring: Given command line options, create dictionary suitable for passing to __init__
docstring_summary: Given command line options, create dictionary suitable for passing to __init__
docstring_tokens: Given command line options create dictionary suitable for passing to __init__
function: def extract_kwargs_from_options_for_class(cls, options):
      """
      Given command line options, create dictionary suitable for passing to __init__
      """
      d = extract_kwargs_from_options(
          cls.__init__, ('self',), options)
      for base in cls.__bases__:
          if hasattr(base, 'extract_kwargs_from_options'):
              d.update(base.extract_kwargs_from_options(options))
      return d
function_tokens: def extract_kwargs_from_options_for_class ( cls , options ) : d = extract_kwargs_from_options ( cls . __init__ , ( 'self' , ) , options ) for base in cls . __bases__ : if hasattr ( base , 'extract_kwargs_from_options' ) : d . update ( base . extract_kwargs_from_options ( options ) ) return d