code: def get_scope_info(cls):
      
      if cls.options_scope is None or cls.options_scope_category is None:
        raise OptionsError(
          '{} must set options_scope and options_scope_category.'.format(cls.__name__))
      return ScopeInfo(cls.options_scope, cls.options_scope_category, cls)
docs: Returns a ScopeInfo instance representing this Optionable's options scope.