From fbb677aa88b9c4945f3878356a7f94e67e6e9ef4 Mon Sep 17 00:00:00 2001 From: Brian Schubert Date: Wed, 27 Aug 2025 19:22:15 -0400 Subject: [PATCH 1/2] Add cross-reference for `warnings.deprecated` --- doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/index.rst b/doc/index.rst index 0199b9f1..99069d78 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -702,7 +702,7 @@ Decorators .. decorator:: deprecated(msg, *, category=DeprecationWarning, stacklevel=1) - See :pep:`702`. In the :mod:`warnings` module since Python 3.13. + See :py:func:`warnings.deprecated` and :pep:`702`. In the :mod:`warnings` module since Python 3.13. .. versionadded:: 4.5.0 From 3e0314bbd71d41d3978508fec44b4a321a929c14 Mon Sep 17 00:00:00 2001 From: Brian Schubert Date: Wed, 27 Aug 2025 19:26:38 -0400 Subject: [PATCH 2/2] wrap --- doc/index.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/index.rst b/doc/index.rst index 99069d78..05cdaf9f 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -702,7 +702,8 @@ Decorators .. decorator:: deprecated(msg, *, category=DeprecationWarning, stacklevel=1) - See :py:func:`warnings.deprecated` and :pep:`702`. In the :mod:`warnings` module since Python 3.13. + See :py:func:`warnings.deprecated` and :pep:`702`. In the :mod:`warnings` module + since Python 3.13. .. versionadded:: 4.5.0