Skip to content

Commit 7f06750

Browse files
Add cross-reference for warnings.deprecated (#665)
1 parent 8897584 commit 7f06750

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,8 @@ Decorators
702702

703703
.. decorator:: deprecated(msg, *, category=DeprecationWarning, stacklevel=1)
704704

705-
See :pep:`702`. In the :mod:`warnings` module since Python 3.13.
705+
See :py:func:`warnings.deprecated` and :pep:`702`. In the :mod:`warnings` module
706+
since Python 3.13.
706707

707708
.. versionadded:: 4.5.0
708709

0 commit comments

Comments
 (0)