code: def wedge(mode="RGB"):
      palette = list(range(256 * len(mode)))
      return ImagePalette(mode, [i // len(mode) for i in palette])
  
file_path: pillow-simd/src/PIL/ImagePalette.py
imports: import array
  import warnings
  from .None import GimpGradientFile, GimpPaletteFile, ImageColor, PaletteFile
label_desc: Use image node_id 7 for calling a global function with example usage: wedge(mode) and returns: ImagePalette