]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-129842: warnings.py: Remove obsolete requirement reference (GH-129845)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Sat, 8 Feb 2025 12:57:17 +0000 (12:57 +0000)
committerGitHub <noreply@github.com>
Sat, 8 Feb 2025 12:57:17 +0000 (13:57 +0100)
Lib/warnings.py

index f20b01372dd7a4ffc012f3dd2e6075a48eedeaad..13ad6c8aacbb7fd66fe586c880964b2dc1344da7 100644 (file)
@@ -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