def __call__(self, index, s):
        """Print the output, colorized or not, depending on the environment.

           Args:
               index (int): The instance number.
               s (str): The string to print.
        """
        if self.colorize:
            self._color_wrap(index, s)
        else:
            print(s)
def __call__ ( self , index , s ) : if self . colorize : self . _color_wrap ( index , s ) else : print ( s )
Print the output, colorized or not, depending on the environment.

           Args:
               index (int): The instance number.
               s (str): The string to print.