From 535de3646683ce68b2d417e215148759d691b31f Mon Sep 17 00:00:00 2001 From: Vyron Vasileiadis Date: Wed, 22 Jul 2026 15:08:34 +0200 Subject: [PATCH] gh-150076: Fix the documented signature of warnings.deprecated (GH-153879) (cherry picked from commit 56ad3bca75a408b45b5326980b35b8a2ba8113db) Co-authored-by: Vyron Vasileiadis Co-authored-by: Jelle Zijlstra --- Doc/library/warnings.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index 93832e8faa37e4..7bcdb3adc0cf36 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -544,7 +544,7 @@ Available Functions and calls to :func:`simplefilter`. -.. decorator:: deprecated(msg, *, category=DeprecationWarning, stacklevel=1) +.. decorator:: deprecated(message, /, *, category=DeprecationWarning, stacklevel=1) Decorator to indicate that a class, function or overload is deprecated.