class_docstr: 1, L, P, 8 bit images stored as uint8 
class_docstr_tok: ["1",",","L",",","P",",","8","bit","images","stored","as","uint8"]
code: def set_pixel(self, x, y, color):
      try:
          # integer
          self.pixels[y][x] = min(color, 255)
      except TypeError:
          # tuple
          self.pixels[y][x] = min(color[0], 255)
  
imports: import logging
  import sys
  from cffi import FFI
label_desc: Use image node_id 3 for calling the _PyAccess8 obj's underlying member method code with example usage: obj.set_pixel(x, y, color) without return types