mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-129842: warnings.py: Remove obsolete requirement reference (GH-129845)
This commit is contained in:
parent
80b9e79d84
commit
0f128b9435
1 changed files with 0 additions and 3 deletions
|
@ -473,9 +473,6 @@ class catch_warnings(object):
|
|||
"""Specify whether to record warnings and if an alternative module
|
||||
should be used other than sys.modules['warnings'].
|
||||
|
||||
For compatibility with Python 3.0, please consider all arguments to be
|
||||
keyword-only.
|
||||
|
||||
"""
|
||||
self._record = record
|
||||
self._module = sys.modules['warnings'] if module is None else module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue