From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Sat, 8 Feb 2025 12:57:17 +0000 (+0000) Subject: gh-129842: warnings.py: Remove obsolete requirement reference (GH-129845) X-Git-Tag: v3.14.0a5~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f128b9435fccb296714f3ea2466c3fdda77d91d;p=thirdparty%2FPython%2Fcpython.git gh-129842: warnings.py: Remove obsolete requirement reference (GH-129845) --- diff --git a/Lib/warnings.py b/Lib/warnings.py index f20b01372dd7..13ad6c8aacbb 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py @@ -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