Skip to content

Commit 56ad3bc

Browse files
gh-150076: Fix the documented signature of warnings.deprecated (#153879)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent 79cdcee commit 56ad3bc

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
@@ -566,7 +566,7 @@ Available Functions
566566
and calls to :func:`simplefilter`.
567567

568568

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

571571
Decorator to indicate that a class, function or overload is deprecated.
572572

0 commit comments

Comments
 (0)