Skip to content

Commit 12892a2

Browse files
miss-islingtonfedonmanJelleZijlstra
authored
[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 56ad3bc) Co-authored-by: Vyron Vasileiadis <hi@fedonman.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent f3d459d commit 12892a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/warnings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ Available Functions
551551
and calls to :func:`simplefilter`.
552552

553553

554-
.. decorator:: deprecated(msg, *, category=DeprecationWarning, stacklevel=1)
554+
.. decorator:: deprecated(message, /, *, category=DeprecationWarning, stacklevel=1)
555555

556556
Decorator to indicate that a class, function or overload is deprecated.
557557

0 commit comments

Comments
 (0)