(message, category, filename, lineno, line=None)
return _formatwarnmsg_impl(msg)
Function to format a warning the standard way.
Function to format a warning the standard way.
Function to format a warning the standard way .
def formatwarning(message, category, filename, lineno, line=None):
    """Function to format a warning the standard way."""
    msg = WarningMessage(message, category, filename, lineno, None, line)
    return _formatwarnmsg_impl(msg)
def formatwarning ( message , category , filename , lineno , line = None ) : msg = WarningMessage ( message , category , filename , lineno , None , line ) return _formatwarnmsg_impl ( msg )