https://github.com/python/cpython/commit/0f128b9435fccb296714f3ea2466c3fdda77d91d
commit: 0f128b9435fccb296714f3ea2466c3fdda77d91d
branch: main
author: Stan Ulbrych <[email protected]>
committer: encukou <[email protected]>
date: 2025-02-08T13:57:17+01:00
summary:
gh-129842: warnings.py: Remove obsolete requirement reference (GH-129845)
files:
M Lib/warnings.py
diff --git a/Lib/warnings.py b/Lib/warnings.py
index f20b01372dd7a4..13ad6c8aacbb7f 100644
--- a/Lib/warnings.py
+++ b/Lib/warnings.py
@@ -473,9 +473,6 @@ def __init__(self, *, record=False, module=None,
"""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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]