From 12892a22c37b5059af418db29df4bc87f79028e1 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 22 Jul 2026 15:16:15 +0200 Subject: [PATCH] [3.14] gh-150076: Fix the documented signature of warnings.deprecated (GH-153879) (#154488) 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 b04302821e0a..18f3dd4a1458 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -551,7 +551,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. -- 2.47.3