Skip to content

Commit 535de36

Browse files
fedonmanJelleZijlstra
authored andcommitted
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 45d469d commit 535de36

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
@@ -544,7 +544,7 @@ Available Functions
544544
and calls to :func:`simplefilter`.
545545

546546

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

549549
Decorator to indicate that a class, function or overload is deprecated.
550550

0 commit comments

Comments
 (0)