commit | cdddf2b875e10f86af55eacb83e81025f1071b39 | [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 | 84dfe3c7b754b221d306b1627ed73c357d932106 | |
parent | 462d1b39a48ed3a18a0e3f3ae9edf643af19a981 [diff] [blame] |
Mention logging.captureWarnings in the warnings module doc.
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index 274840b..8af19a2 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst
@@ -40,6 +40,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: