code: def success(self, buf, newline=True):
          
  
          if self._colored:
              buf = self.ESCAPE_GREEN + buf + self.ESCAPE_CLEAR
  
          self.write(buf, newline)
docs: Same as `write`, but adds success coloring if enabled.
  
              `buf`
                  Data buffer to write.
              `newline`
                  Append newline character to buffer before writing.