https://github.com/python/cpython/commit/b84c4cc489a3ac70e5bde91e723a0858d8020193
commit: b84c4cc489a3ac70e5bde91e723a0858d8020193
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: JelleZijlstra <[email protected]>
date: 2026-07-22T13:16:23Z
summary:

[3.15] gh-150076: Fix the documented signature of warnings.deprecated 
(GH-153879) (#154487)

gh-150076: Fix the documented signature of warnings.deprecated (GH-153879)
(cherry picked from commit 56ad3bca75a408b45b5326980b35b8a2ba8113db)

Co-authored-by: Vyron Vasileiadis <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>

files:
M Doc/library/warnings.rst

diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst
index 9063bea96ccb0ac..d5f89102d5853bb 100644
--- a/Doc/library/warnings.rst
+++ b/Doc/library/warnings.rst
@@ -566,7 +566,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.
 

_______________________________________________
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]

Reply via email to