mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
resetwarnings(): Remove extra space from docstring guts.
This commit is contained in:
parent
863ac44b74
commit
d0cc4f0b49
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ def filterwarnings(action, message="", category=Warning, module="", lineno=0,
|
||||||
filters.insert(0, item)
|
filters.insert(0, item)
|
||||||
|
|
||||||
def resetwarnings():
|
def resetwarnings():
|
||||||
"""Clear the list of warning filters, so that no filters are active."""
|
"""Clear the list of warning filters, so that no filters are active."""
|
||||||
filters[:] = []
|
filters[:] = []
|
||||||
|
|
||||||
class _OptionError(Exception):
|
class _OptionError(Exception):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue