From 0f128b9435fccb296714f3ea2466c3fdda77d91d Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Sat, 8 Feb 2025 12:57:17 +0000 Subject: [PATCH] gh-129842: warnings.py: Remove obsolete requirement reference (GH-129845) --- Lib/warnings.py | 3 --- 1 file changed, 3 deletions(-) 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 -- 2.47.3