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.
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 @@
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):