summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):