summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-04-16 01:33:59 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-04-16 01:33:59 (GMT)
commitc86c1b88f96ec48e5502b9b8ba5cc833f57ce476 (patch)
treead8e614ff3a0612aaa10777b12c579f22e996d96
parentd392506c43a48d570a09a15e7f1889873fe17d6c (diff)
downloadcpython-c86c1b88f96ec48e5502b9b8ba5cc833f57ce476.zip
cpython-c86c1b88f96ec48e5502b9b8ba5cc833f57ce476.tar.gz
cpython-c86c1b88f96ec48e5502b9b8ba5cc833f57ce476.tar.bz2
resetwarnings(): change the docstring to reflect what the code
actually does. Note that the description in the Library Reference manual is already accurate. Bugfix candidate.
-rw-r--r--Lib/warnings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/warnings.py b/Lib/warnings.py
index 7ae9820..7966a33 100644
--- a/Lib/warnings.py
+++ b/Lib/warnings.py
@@ -139,7 +139,7 @@ def filterwarnings(action, message="", category=Warning, module="", lineno=0,
filters.insert(0, item)
def resetwarnings():
- """Reset the list of warnings filters to its default state."""
+ """Clear the list of warning filters, so that no filters are active."""
filters[:] = []
class _OptionError(Exception):