def warn_message(self, message, fh=None, prefix="<STR_LIT>", suffix="<STR_LIT>"):
msg = prefix + message + suffix<EOL>fh = fh or sys.stdout<EOL>if fh is sys.stdout:<EOL><INDENT>termcolor.cprint(msg, color="<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>fh.write(msg)<EOL><DEDENT>pass<EOL>
print warn type message,
if file handle is `sys.stdout`, print color message


:param str message: message to print
:param file fh: file handle,default is `sys.stdout`
:param str prefix: message prefix,default is `[warn]`
:param str suffix: message suffix ,default is `...`
:return: None