diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-09 21:31:07 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-09 21:31:07 +0200 |
commit | e1d2103ede0f29416b8458ce033c5f4cbb55e386 (patch) | |
tree | 4a979cbbb9f2586a706c9f16cabe4f9d5ad7b04f | |
parent | 966a399a597ccfe8988f1cc91aa15c30192250be (diff) | |
parent | cdddf2b875e10f86af55eacb83e81025f1071b39 (diff) | |
download | cpython-git-e1d2103ede0f29416b8458ce033c5f4cbb55e386.tar.gz |
Mention logging.captureWarnings in the warnings module doc.
-rw-r--r-- | Doc/library/warnings.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index 274840b342..8af19a282e 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -40,6 +40,10 @@ may be overridden; the default implementation of this function formats the 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: |