def idle_showwarning_subproc(message, category, filename, lineno, file=None, line=None):
 if (file is None):
  file = sys.stderr
 try:
  file.write(PyShell.idle_formatwarning(message, category, filename, lineno, line))
 except IOError:
  pass

def idle_showwarning_subproc ( message , category , filename , lineno , file = None , line = None ) : if ( file is None ) : file = sys . stderr try : file . write ( PyShell . idle_formatwarning ( message , category , filename , lineno , line ) ) except IOError : pass
show idle-format warning after replacing warnings .