March 2003
Intermediate to advanced
656 pages
39h 30m
English
showwarning
showwarning(message,category,filename,lineno,file=sys.stderr)
Outputs the given warning to the given file object. Filter actions
that output warnings call showwarning, letting
argument file default to
sys.stderr. To change what happens when filter
actions output warnings, code your own function with this signature
and bind it to warnings.showwarning.
Read now
Unlock full access