code: def colorize(self, col, row, value=None):
          'Returns curses attribute for the given col/row/value'
  
  #        colorstack = tuple(c.coloropt for c in self.getColorizers() if wrapply(c.func, self, col, row, value))
  
          colorstack = []
          for colorizer in self.getColorizers():
              try:
                  r = colorizer.func(self, col, row, value)
                  if r:
                      colorstack.append(colorizer.coloropt if colorizer.coloropt else r)
              except Exception as e:
                  exceptionCaught(e)
  
          return colors.resolve_colors(tuple(colorstack)f colorize(self, col, row, value=None):
          'Returns curses attribute for the given col/row/value'
  
  #        colorstack = tuple(c.coloropt for c in self.getColorizers() if wrapply(c.func, self, col, row, value))
  
          colorstack = []
          for colorizer in self.getColorizers():
              try:
                  r = colorizer.func(self, col, row, value)
                  if r:
                      colorstack.append(colorizer.coloropt if colorizer.coloropt else r)
              except Exception as e:
                  exceptionCaught(e)
  
          return colors.resolve_colors(tuple(colorstack))
docs: Returns curses attribute for the given col/row/value