mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +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)
|
||||
|
||||
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[:] = []
|
||||
|
||||
class _OptionError(Exception):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue