commit | 0504532c39ffdf6cb8e4b7b283da60027473a4a5 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Jul 09 21:29:36 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Jul 09 21:29:36 2011 +0200 |
tree | 1a2766dd31ad480926488d80e792fdd15584cdc8 | |
parent | 73705902c4eb00902d2eaef50fe36ab3b76184b3 [diff] |
Mention logging.captureWarnings in the warnings module doc.
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index 544d9f7..b3c1994 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst
@@ -39,6 +39,10 @@ message by calling :func:`formatwarning`, which is also available for use by custom implementations. +.. seealso:: + :func:`logging.captureWarnings` allows you to handle all warnings with + the standard logging infrastructure. + .. _warning-categories: