original_docstring: 
      Decorator that registers a class as a color space.
  
      :return: decorator that returns the class after registering it
  
      The ``color_space`` decorator registers a class as a color space for color 
      conversions.::
  
         @color_space('test1')
         class TestSpaceData(ColorSpaceDataImpl):
             pass
  
      
docstring: Decorator that registers a class as a color space.
docstring_tokens: Decorator that registers a class as a color space .
code: def color_space(name: str) -> Callable[[ColorSpace], ColorSpace]:
      """
      Decorator that registers a class as a color space.
  
      :return: decorator that returns the class after registering it
  
      The ``color_space`` decorator registers a class as a color space for color 
      conversions.::
  
         @color_space('test1')
         class TestSpaceData(ColorSpaceDataImpl):
             pass
  
      """
  
      def decorator(cls: ColorSpace) -> ColorSpace:
          cls.__spacename__ = name
          _space_name_to_type_map[name] = cls
          return cls
  
      return decorator
code_tokens: def color_space ( name : str ) -> Callable [ [ ColorSpace ] , ColorSpace ] : def decorator ( cls : ColorSpace ) -> ColorSpace : cls . __spacename__ = name _space_name_to_type_map [ name ] = cls return cls return decorator
short_docstring: Decorator that registers a class as a color space.
short_docstring_tokens: Decorator that registers a class as a color space .
comment: """
      Decorator that registers a class as a color space.
  
      :return: decorator that returns the class after registering it
  
      The ``color_space`` decorator registers a class as a color space for color 
      conversions.::
  
         @color_space('test1')
         class TestSpaceData(ColorSpaceDataImpl):
             pass
  
      """