(
        message, category, filename, lineno, file=None, line=None)
Show Idle-format warning after replacing warnings.showwarning.

    The only difference is the formatter called.
Show Idle-format warning after replacing warnings.showwarning.
Show Idle - format warning after replacing warnings . showwarning .
def idle_showwarning_subproc(
        message, category, filename, lineno, file=None, line=None):
    """Show Idle-format warning after replacing warnings.showwarning.

    The only difference is the formatter called.
    """
    if file is None:
        file = sys.stderr
    try:
        file.write(idle_formatwarning(
                message, category, filename, lineno, line))
    except OSError:
        pass
def idle_showwarning_subproc ( message , category , filename , lineno , file = None , line = None ) : if file is None : file = sys . stderr try : file . write ( idle_formatwarning ( message , category , filename , lineno , line ) ) except OSError : pass